public static interface ShardDetail.Builder extends SdkPojo, CopyableBuilder<ShardDetail.Builder,ShardDetail>
| Modifier and Type | Method and Description |
|---|---|
default ShardDetail.Builder |
configuration(Consumer<ShardConfiguration.Builder> configuration)
The configuration details of the shard
|
ShardDetail.Builder |
configuration(ShardConfiguration configuration)
The configuration details of the shard
|
ShardDetail.Builder |
name(String name)
The name of the shard
|
ShardDetail.Builder |
size(String size)
The size of the shard's snapshot
|
ShardDetail.Builder |
snapshotCreationTime(Instant snapshotCreationTime)
The date and time that the shard's snapshot was created
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildShardDetail.Builder name(String name)
The name of the shard
name - The name of the shardShardDetail.Builder configuration(ShardConfiguration configuration)
The configuration details of the shard
configuration - The configuration details of the sharddefault ShardDetail.Builder configuration(Consumer<ShardConfiguration.Builder> configuration)
The configuration details of the shard
This is a convenience that creates an instance of theShardConfiguration.Builder avoiding the need to
create one manually via ShardConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to configuration(ShardConfiguration).configuration - a consumer that will call methods on ShardConfiguration.Builderconfiguration(ShardConfiguration)ShardDetail.Builder size(String size)
The size of the shard's snapshot
size - The size of the shard's snapshotShardDetail.Builder snapshotCreationTime(Instant snapshotCreationTime)
The date and time that the shard's snapshot was created
snapshotCreationTime - The date and time that the shard's snapshot was createdCopyright © 2021. All rights reserved.