com.amazonaws.services.kinesis.model
Class SequenceNumberRange

java.lang.Object
  extended by com.amazonaws.services.kinesis.model.SequenceNumberRange
All Implemented Interfaces:
Serializable

public class SequenceNumberRange
extends Object
implements Serializable

The range of possible sequence numbers for the shard.

See Also:
Serialized Form

Constructor Summary
SequenceNumberRange()
           
 
Method Summary
 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 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequenceNumberRange

public SequenceNumberRange()
Method Detail

getStartingSequenceNumber

public String getStartingSequenceNumber()
The starting sequence number for the range.

Constraints:
Pattern: 0|([1-9]\d{0,128})

Returns:
The starting sequence number for the range.

setStartingSequenceNumber

public void setStartingSequenceNumber(String startingSequenceNumber)
The starting sequence number for the range.

Constraints:
Pattern: 0|([1-9]\d{0,128})

Parameters:
startingSequenceNumber - The starting sequence number for the range.

withStartingSequenceNumber

public SequenceNumberRange withStartingSequenceNumber(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})

Parameters:
startingSequenceNumber - The starting sequence number for the range.
Returns:
A reference to this updated object so that method calls can be chained together.

getEndingSequenceNumber

public 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})

Returns:
The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null.

setEndingSequenceNumber

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.

Constraints:
Pattern: 0|([1-9]\d{0,128})

Parameters:
endingSequenceNumber - The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null.

withEndingSequenceNumber

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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: 0|([1-9]\d{0,128})

Parameters:
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 updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.