com.amazonaws.services.kinesis.model
Class HashKeyRange

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

public class HashKeyRange
extends Object
implements Serializable

The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.

See Also:
Serialized Form

Constructor Summary
HashKeyRange()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getEndingHashKey()
          The ending hash key of the hash key range.
 String getStartingHashKey()
          The starting hash key of the hash key range.
 int hashCode()
           
 void setEndingHashKey(String endingHashKey)
          The ending hash key of the hash key range.
 void setStartingHashKey(String startingHashKey)
          The starting hash key of the hash key range.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 HashKeyRange withEndingHashKey(String endingHashKey)
          The ending hash key of the hash key range.
 HashKeyRange withStartingHashKey(String startingHashKey)
          The starting hash key of the hash key range.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HashKeyRange

public HashKeyRange()
Method Detail

getStartingHashKey

public String getStartingHashKey()
The starting hash key of the hash key range.

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

Returns:
The starting hash key of the hash key range.

setStartingHashKey

public void setStartingHashKey(String startingHashKey)
The starting hash key of the hash key range.

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

Parameters:
startingHashKey - The starting hash key of the hash key range.

withStartingHashKey

public HashKeyRange withStartingHashKey(String startingHashKey)
The starting hash key of the hash key range.

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

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

Parameters:
startingHashKey - The starting hash key of the hash key range.
Returns:
A reference to this updated object so that method calls can be chained together.

getEndingHashKey

public String getEndingHashKey()
The ending hash key of the hash key range.

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

Returns:
The ending hash key of the hash key range.

setEndingHashKey

public void setEndingHashKey(String endingHashKey)
The ending hash key of the hash key range.

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

Parameters:
endingHashKey - The ending hash key of the hash key range.

withEndingHashKey

public HashKeyRange withEndingHashKey(String endingHashKey)
The ending hash key of the hash key range.

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

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

Parameters:
endingHashKey - The ending hash key of the hash key range.
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.