@Generated(value="software.amazon.awssdk:codegen") public final class Shard extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Shard.Builder,Shard>
A uniquely identified group of data records in a Kinesis data stream.
Modifier and Type | Class and Description |
---|---|
static interface |
Shard.Builder |
Modifier and Type | Method and Description |
---|---|
String |
adjacentParentShardId()
The shard ID of the shard adjacent to the shard's parent.
|
static Shard.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HashKeyRange |
hashKeyRange()
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
|
String |
parentShardId()
The shard ID of the shard's parent.
|
List<SdkField<?>> |
sdkFields() |
SequenceNumberRange |
sequenceNumberRange()
The range of possible sequence numbers for the shard.
|
static Class<? extends Shard.Builder> |
serializableBuilderClass() |
String |
shardId()
The unique identifier of the shard within the stream.
|
Shard.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String shardId()
The unique identifier of the shard within the stream.
public String parentShardId()
The shard ID of the shard's parent.
public String adjacentParentShardId()
The shard ID of the shard adjacent to the shard's parent.
public HashKeyRange hashKeyRange()
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
public SequenceNumberRange sequenceNumberRange()
The range of possible sequence numbers for the shard.
public Shard.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Shard.Builder,Shard>
public static Shard.Builder builder()
public static Class<? extends Shard.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.