Class SequenceNumberRange
java.lang.Object
com.amazonaws.services.kinesis.model.SequenceNumberRange
- All Implemented Interfaces:
Serializable,Cloneable
The range of possible sequence numbers for the shard.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe ending sequence number for the range.The starting sequence number for the range.inthashCode()voidsetEndingSequenceNumber(String endingSequenceNumber) The ending sequence number for the range.voidsetStartingSequenceNumber(String startingSequenceNumber) The starting sequence number for the range.toString()Returns a string representation of this object; useful for testing and debugging.withEndingSequenceNumber(String endingSequenceNumber) The ending sequence number for the range.withStartingSequenceNumber(String startingSequenceNumber) The starting sequence number for the range.
-
Constructor Details
-
SequenceNumberRange
public SequenceNumberRange()
-
-
Method Details
-
setStartingSequenceNumber
The starting sequence number for the range.
- Parameters:
startingSequenceNumber- The starting sequence number for the range.
-
getStartingSequenceNumber
The starting sequence number for the range.
- Returns:
- The starting sequence number for the range.
-
withStartingSequenceNumber
The starting sequence number for the range.
- Parameters:
startingSequenceNumber- The starting sequence number for the range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndingSequenceNumber
The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of
null.- Parameters:
endingSequenceNumber- The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number ofnull.
-
getEndingSequenceNumber
The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of
null.- Returns:
- The ending sequence number for the range. Shards that are in the
OPEN state have an ending sequence number of
null.
-
withEndingSequenceNumber
The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of
null.- Parameters:
endingSequenceNumber- The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number ofnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-