Class Shard
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.Shard
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Shard.Builder,Shard>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceShard.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Shard.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringparentShardId()The shard ID of the current shard's parent.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()SequenceNumberRangesequenceNumberRange()The range of possible sequence numbers for the shard.static Class<? extends Shard.Builder>serializableBuilderClass()StringshardId()The system-generated identifier for this shard.Shard.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
shardId
public final String shardId()
The system-generated identifier for this shard.
- Returns:
- The system-generated identifier for this shard.
-
sequenceNumberRange
public final SequenceNumberRange sequenceNumberRange()
The range of possible sequence numbers for the shard.
- Returns:
- The range of possible sequence numbers for the shard.
-
parentShardId
public final String parentShardId()
The shard ID of the current shard's parent.
- Returns:
- The shard ID of the current shard's parent.
-
toBuilder
public Shard.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Shard.Builder,Shard>
-
builder
public static Shard.Builder builder()
-
serializableBuilderClass
public static Class<? extends Shard.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-