@Generated(value="software.amazon.awssdk:codegen") public class Shard extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
parentShardId()
The shard ID of the current shard's parent.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String shardId()
The system-generated identifier for this shard.
public SequenceNumberRange sequenceNumberRange()
The range of possible sequence numbers for the shard.
public String parentShardId()
The shard ID of the current shard's parent.
public Shard.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Shard.Builder,Shard>
public static Shard.Builder builder()
public static Class<? extends Shard.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.