@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) |
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)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.