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 interface
Shard.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-