@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SequenceNumberRange extends Object implements Serializable, Cloneable, StructuredPojo
The beginning and ending sequence numbers for the stream records contained within a shard.
| Constructor and Description |
|---|
SequenceNumberRange() |
| Modifier and Type | Method and Description |
|---|---|
SequenceNumberRange |
clone() |
boolean |
equals(Object obj) |
String |
getEndingSequenceNumber()
The last sequence number for the stream records contained within a shard.
|
String |
getStartingSequenceNumber()
The first sequence number for the stream records contained within a shard.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEndingSequenceNumber(String endingSequenceNumber)
The last sequence number for the stream records contained within a shard.
|
void |
setStartingSequenceNumber(String startingSequenceNumber)
The first sequence number for the stream records contained within a shard.
|
String |
toString()
Returns a string representation of this object.
|
SequenceNumberRange |
withEndingSequenceNumber(String endingSequenceNumber)
The last sequence number for the stream records contained within a shard.
|
SequenceNumberRange |
withStartingSequenceNumber(String startingSequenceNumber)
The first sequence number for the stream records contained within a shard.
|
public void setStartingSequenceNumber(String startingSequenceNumber)
The first sequence number for the stream records contained within a shard. String contains numeric characters only.
startingSequenceNumber - The first sequence number for the stream records contained within a shard. String contains numeric
characters only.public String getStartingSequenceNumber()
The first sequence number for the stream records contained within a shard. String contains numeric characters only.
public SequenceNumberRange withStartingSequenceNumber(String startingSequenceNumber)
The first sequence number for the stream records contained within a shard. String contains numeric characters only.
startingSequenceNumber - The first sequence number for the stream records contained within a shard. String contains numeric
characters only.public void setEndingSequenceNumber(String endingSequenceNumber)
The last sequence number for the stream records contained within a shard. String contains numeric characters only.
endingSequenceNumber - The last sequence number for the stream records contained within a shard. String contains numeric
characters only.public String getEndingSequenceNumber()
The last sequence number for the stream records contained within a shard. String contains numeric characters only.
public SequenceNumberRange withEndingSequenceNumber(String endingSequenceNumber)
The last sequence number for the stream records contained within a shard. String contains numeric characters only.
endingSequenceNumber - The last sequence number for the stream records contained within a shard. String contains numeric
characters only.public String toString()
toString in class ObjectObject.toString()public SequenceNumberRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.