@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.
|
String |
getStartingSequenceNumber()
The first sequence number.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEndingSequenceNumber(String endingSequenceNumber)
The last sequence number.
|
void |
setStartingSequenceNumber(String startingSequenceNumber)
The first sequence number.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SequenceNumberRange |
withEndingSequenceNumber(String endingSequenceNumber)
The last sequence number.
|
SequenceNumberRange |
withStartingSequenceNumber(String startingSequenceNumber)
The first sequence number.
|
public void setStartingSequenceNumber(String startingSequenceNumber)
The first sequence number.
startingSequenceNumber
- The first sequence number.public String getStartingSequenceNumber()
The first sequence number.
public SequenceNumberRange withStartingSequenceNumber(String startingSequenceNumber)
The first sequence number.
startingSequenceNumber
- The first sequence number.public void setEndingSequenceNumber(String endingSequenceNumber)
The last sequence number.
endingSequenceNumber
- The last sequence number.public String getEndingSequenceNumber()
The last sequence number.
public SequenceNumberRange withEndingSequenceNumber(String endingSequenceNumber)
The last sequence number.
endingSequenceNumber
- The last sequence number.public String toString()
toString
in class Object
Object.toString()
public SequenceNumberRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.