public static interface ReshardingStatus.Builder extends CopyableBuilder<ReshardingStatus.Builder,ReshardingStatus>
Modifier and Type | Method and 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.
|
copy
apply, build
ReshardingStatus.Builder slotMigration(SlotMigration slotMigration)
Represents the progress of an online resharding operation.
slotMigration
- Represents the progress of an online resharding operation.default ReshardingStatus.Builder slotMigration(Consumer<SlotMigration.Builder> slotMigration)
Represents the progress of an online resharding operation.
This is a convenience that creates an instance of theSlotMigration.Builder
avoiding the need to
create one manually via SlotMigration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to slotMigration(SlotMigration)
.slotMigration
- a consumer that will call methods on SlotMigration.Builder
slotMigration(SlotMigration)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.