@Generated(value="software.amazon.awssdk:codegen") public final class Shard extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Shard.Builder,Shard>
A uniquely identified group of stream records within a stream.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Shard.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Shard.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
parentShardId()
The shard ID of the current 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 system-generated identifier for this shard.
|
Shard.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String shardId()
The system-generated identifier for this shard.
public final SequenceNumberRange sequenceNumberRange()
The range of possible sequence numbers for the shard.
public final String parentShardId()
The shard ID of the current shard's parent.
public Shard.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Shard.Builder,Shard>public static Shard.Builder builder()
public static Class<? extends Shard.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.