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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Shard.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe shard ID of the current shard's parent.final SequenceNumberRangeThe range of possible sequence numbers for the shard.static Class<? extends Shard.Builder>final StringshardId()The system-generated identifier for this shard.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
shardId
The system-generated identifier for this shard.
- Returns:
- The system-generated identifier for this shard.
-
sequenceNumberRange
The range of possible sequence numbers for the shard.
- Returns:
- The range of possible sequence numbers for the shard.
-
parentShardId
The shard ID of the current shard's parent.
- Returns:
- The shard ID of the current shard's parent.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<Shard.Builder,Shard>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-