@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SequenceNumberRange extends Object implements Serializable, Cloneable, StructuredPojo
The range of possible sequence numbers for the shard.
Constructor and Description |
---|
SequenceNumberRange() |
Modifier and Type | Method and Description |
---|---|
SequenceNumberRange |
clone() |
boolean |
equals(Object obj) |
String |
getEndingSequenceNumber()
The ending sequence number for the range.
|
String |
getStartingSequenceNumber()
The starting sequence number for the range.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndingSequenceNumber(String endingSequenceNumber)
The ending sequence number for the range.
|
void |
setStartingSequenceNumber(String startingSequenceNumber)
The starting sequence number for the range.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SequenceNumberRange |
withEndingSequenceNumber(String endingSequenceNumber)
The ending sequence number for the range.
|
SequenceNumberRange |
withStartingSequenceNumber(String startingSequenceNumber)
The starting sequence number for the range.
|
public void setStartingSequenceNumber(String startingSequenceNumber)
The starting sequence number for the range.
startingSequenceNumber
- The starting sequence number for the range.public String getStartingSequenceNumber()
The starting sequence number for the range.
public SequenceNumberRange withStartingSequenceNumber(String startingSequenceNumber)
The starting sequence number for the range.
startingSequenceNumber
- The starting sequence number for the range.public void setEndingSequenceNumber(String endingSequenceNumber)
The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of
null
.
endingSequenceNumber
- The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number
of null
.public String getEndingSequenceNumber()
The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of
null
.
null
.public SequenceNumberRange withEndingSequenceNumber(String endingSequenceNumber)
The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of
null
.
endingSequenceNumber
- The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number
of null
.public String toString()
toString
in class Object
Object.toString()
public SequenceNumberRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.