Interface ChildShard.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChildShard.Builder,,ChildShard> SdkBuilder<ChildShard.Builder,,ChildShard> SdkPojo
- Enclosing class:
ChildShard
public static interface ChildShard.Builder
extends SdkPojo, CopyableBuilder<ChildShard.Builder,ChildShard>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChildShard.BuilderhashKeyRange(Consumer<HashKeyRange.Builder> hashKeyRange) Sets the value of the HashKeyRange property for this object.hashKeyRange(HashKeyRange hashKeyRange) Sets the value of the HashKeyRange property for this object.parentShards(String... parentShards) The current shard that is the parent of the existing child shard.parentShards(Collection<String> parentShards) The current shard that is the parent of the existing child shard.The shard ID of the existing child shard of the current shard.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
shardId
The shard ID of the existing child shard of the current shard.
- Parameters:
shardId- The shard ID of the existing child shard of the current shard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentShards
The current shard that is the parent of the existing child shard.
- Parameters:
parentShards- The current shard that is the parent of the existing child shard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentShards
The current shard that is the parent of the existing child shard.
- Parameters:
parentShards- The current shard that is the parent of the existing child shard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hashKeyRange
Sets the value of the HashKeyRange property for this object.- Parameters:
hashKeyRange- The new value for the HashKeyRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hashKeyRange
Sets the value of the HashKeyRange property for this object. This is a convenience method that creates an instance of theHashKeyRange.Builderavoiding the need to create one manually viaHashKeyRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohashKeyRange(HashKeyRange).- Parameters:
hashKeyRange- a consumer that will call methods onHashKeyRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-