Interface ReshardingStatus.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ReshardingStatus.Builder,ReshardingStatus>
,SdkBuilder<ReshardingStatus.Builder,ReshardingStatus>
,SdkPojo
- Enclosing class:
- ReshardingStatus
public static interface ReshardingStatus.Builder extends SdkPojo, CopyableBuilder<ReshardingStatus.Builder,ReshardingStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReshardingStatus.Builder
slotMigration(Consumer<SlotMigration.Builder> slotMigration)
Represents the progress of an online resharding operation.ReshardingStatus.Builder
slotMigration(SlotMigration slotMigration)
Represents the progress of an online resharding operation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
slotMigration
ReshardingStatus.Builder slotMigration(SlotMigration slotMigration)
Represents the progress of an online resharding operation.
- Parameters:
slotMigration
- Represents the progress of an online resharding operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotMigration
default ReshardingStatus.Builder slotMigration(Consumer<SlotMigration.Builder> slotMigration)
Represents the progress of an online resharding operation.
This is a convenience method that creates an instance of theSlotMigration.Builder
avoiding the need to create one manually viaSlotMigration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toslotMigration(SlotMigration)
.- Parameters:
slotMigration
- a consumer that will call methods onSlotMigration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
slotMigration(SlotMigration)
-
-