public class SequenceNumberRange
extends java.lang.Object
implements java.io.Serializable
The range of possible sequence numbers for the shard.
Constructor and Description |
---|
SequenceNumberRange() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEndingSequenceNumber()
The ending sequence number for the range.
|
java.lang.String |
getStartingSequenceNumber()
The starting sequence number for the range.
|
int |
hashCode() |
void |
setEndingSequenceNumber(java.lang.String endingSequenceNumber)
The ending sequence number for the range.
|
void |
setStartingSequenceNumber(java.lang.String startingSequenceNumber)
The starting sequence number for the range.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SequenceNumberRange |
withEndingSequenceNumber(java.lang.String endingSequenceNumber)
The ending sequence number for the range.
|
SequenceNumberRange |
withStartingSequenceNumber(java.lang.String startingSequenceNumber)
The starting sequence number for the range.
|
public java.lang.String getStartingSequenceNumber()
The starting sequence number for the range.
Constraints:
Pattern: 0|([1-9]\d{0,128})
The starting sequence number for the range.
public void setStartingSequenceNumber(java.lang.String startingSequenceNumber)
The starting sequence number for the range.
Constraints:
Pattern: 0|([1-9]\d{0,128})
startingSequenceNumber
- The starting sequence number for the range.
public SequenceNumberRange withStartingSequenceNumber(java.lang.String startingSequenceNumber)
The starting sequence number for the range.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: 0|([1-9]\d{0,128})
startingSequenceNumber
- The starting sequence number for the range.
public java.lang.String getEndingSequenceNumber()
The ending sequence number for the range. Shards that are in the OPEN
state have an ending sequence number of null
.
Constraints:
Pattern: 0|([1-9]\d{0,128})
The ending sequence number for the range. Shards that are in the
OPEN state have an ending sequence number of null
.
public void setEndingSequenceNumber(java.lang.String endingSequenceNumber)
The ending sequence number for the range. Shards that are in the OPEN
state have an ending sequence number of null
.
Constraints:
Pattern: 0|([1-9]\d{0,128})
endingSequenceNumber
-
The ending sequence number for the range. Shards that are in
the OPEN state have an ending sequence number of
null
.
public SequenceNumberRange withEndingSequenceNumber(java.lang.String endingSequenceNumber)
The ending sequence number for the range. Shards that are in the OPEN
state have an ending sequence number of null
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: 0|([1-9]\d{0,128})
endingSequenceNumber
-
The ending sequence number for the range. Shards that are in
the OPEN state have an ending sequence number of
null
.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.