public static interface ChildShard.Builder extends SdkPojo, CopyableBuilder<ChildShard.Builder,ChildShard>
Modifier and Type | Method and Description |
---|---|
default ChildShard.Builder |
hashKeyRange(Consumer<HashKeyRange.Builder> hashKeyRange)
Sets the value of the HashKeyRange property for this object.
|
ChildShard.Builder |
hashKeyRange(HashKeyRange hashKeyRange)
Sets the value of the HashKeyRange property for this object.
|
ChildShard.Builder |
parentShards(Collection<String> parentShards)
The current shard that is the parent of the existing child shard.
|
ChildShard.Builder |
parentShards(String... parentShards)
The current shard that is the parent of the existing child shard.
|
ChildShard.Builder |
shardId(String shardId)
The shard ID of the existing child shard of the current shard.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ChildShard.Builder shardId(String shardId)
The shard ID of the existing child shard of the current shard.
shardId
- The shard ID of the existing child shard of the current shard.ChildShard.Builder parentShards(Collection<String> parentShards)
The current shard that is the parent of the existing child shard.
parentShards
- The current shard that is the parent of the existing child shard.ChildShard.Builder parentShards(String... parentShards)
The current shard that is the parent of the existing child shard.
parentShards
- The current shard that is the parent of the existing child shard.ChildShard.Builder hashKeyRange(HashKeyRange hashKeyRange)
hashKeyRange
- The new value for the HashKeyRange property for this object.default ChildShard.Builder hashKeyRange(Consumer<HashKeyRange.Builder> hashKeyRange)
HashKeyRange.Builder
avoiding the need
to create one manually via HashKeyRange.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to hashKeyRange(HashKeyRange)
.
hashKeyRange
- a consumer that will call methods on HashKeyRange.Builder
hashKeyRange(HashKeyRange)
Copyright © 2022. All rights reserved.