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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ShardDetail.Builderconfiguration(Consumer<ShardConfiguration.Builder> configuration)The configuration details of the shardShardDetail.Builderconfiguration(ShardConfiguration configuration)The configuration details of the shardShardDetail.Buildername(String name)The name of the shardShardDetail.Buildersize(String size)The size of the shard's snapshotShardDetail.BuildersnapshotCreationTime(Instant snapshotCreationTime)The date and time that the shard's snapshot was created-
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
-
name
ShardDetail.Builder name(String 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
ShardDetail.Builder configuration(ShardConfiguration 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
default ShardDetail.Builder configuration(Consumer<ShardConfiguration.Builder> configuration)
The configuration details of the shard
This is a convenience method that creates an instance of theShardConfiguration.Builderavoiding the need to create one manually viaShardConfiguration.builder().When the
Consumercompletes,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:
configuration(ShardConfiguration)
-
size
ShardDetail.Builder size(String 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
ShardDetail.Builder snapshotCreationTime(Instant 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.
-
-