public static interface Shard.Builder extends CopyableBuilder<Shard.Builder,Shard>
| Modifier and Type | Method and Description |
|---|---|
Shard.Builder |
parentShardId(String parentShardId)
The shard ID of the current shard's parent.
|
default Shard.Builder |
sequenceNumberRange(Consumer<SequenceNumberRange.Builder> sequenceNumberRange)
The range of possible sequence numbers for the shard.
|
Shard.Builder |
sequenceNumberRange(SequenceNumberRange sequenceNumberRange)
The range of possible sequence numbers for the shard.
|
Shard.Builder |
shardId(String shardId)
The system-generated identifier for this shard.
|
copyapply, buildShard.Builder shardId(String shardId)
The system-generated identifier for this shard.
shardId - The system-generated identifier for this shard.Shard.Builder sequenceNumberRange(SequenceNumberRange sequenceNumberRange)
The range of possible sequence numbers for the shard.
sequenceNumberRange - The range of possible sequence numbers for the shard.default Shard.Builder sequenceNumberRange(Consumer<SequenceNumberRange.Builder> sequenceNumberRange)
The range of possible sequence numbers for the shard.
This is a convenience that creates an instance of theSequenceNumberRange.Builder avoiding the need
to create one manually via SequenceNumberRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to sequenceNumberRange(SequenceNumberRange).sequenceNumberRange - a consumer that will call methods on SequenceNumberRange.BuildersequenceNumberRange(SequenceNumberRange)Shard.Builder parentShardId(String parentShardId)
The shard ID of the current shard's parent.
parentShardId - The shard ID of the current shard's parent.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.