Interface ShardDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ShardDetail.Builder,
,ShardDetail> SdkBuilder<ShardDetail.Builder,
,ShardDetail> SdkPojo
- Enclosing class:
ShardDetail
public static interface ShardDetail.Builder
extends SdkPojo, CopyableBuilder<ShardDetail.Builder,ShardDetail>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ShardDetail.Builder
configuration
(Consumer<ShardConfiguration.Builder> configuration) The configuration details of the shardconfiguration
(ShardConfiguration configuration) The configuration details of the shardThe name of the shardThe size of the shard's snapshotsnapshotCreationTime
(Instant snapshotCreationTime) The date and time that the shard's snapshot was createdMethods 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 Details
-
name
The name of the shard
- Parameters:
name
- The name of the shard- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration details of the shard
- Parameters:
configuration
- The configuration details of the shard- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration details of the shard
This is a convenience method that creates an instance of theShardConfiguration.Builder
avoiding the need to create one manually viaShardConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(ShardConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onShardConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
size
The size of the shard's snapshot
- Parameters:
size
- The size of the shard's snapshot- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCreationTime
The date and time that the shard's snapshot was created
- Parameters:
snapshotCreationTime
- The date and time that the shard's snapshot was created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-