Class HashKeyRange
- java.lang.Object
-
- com.amazonaws.services.kinesis.model.HashKeyRange
-
- All Implemented Interfaces:
Serializable,Cloneable
public class HashKeyRange extends Object implements Serializable, Cloneable
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
Constructors Constructor Description HashKeyRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HashKeyRangeclone()booleanequals(Object obj)StringgetEndingHashKey()The ending hash key of the hash key range.StringgetStartingHashKey()The starting hash key of the hash key range.inthashCode()voidsetEndingHashKey(String endingHashKey)The ending hash key of the hash key range.voidsetStartingHashKey(String startingHashKey)The starting hash key of the hash key range.StringtoString()Returns a string representation of this object; useful for testing and debugging.HashKeyRangewithEndingHashKey(String endingHashKey)The ending hash key of the hash key range.HashKeyRangewithStartingHashKey(String startingHashKey)The starting hash key of the hash key range.
-
-
-
Method Detail
-
setStartingHashKey
public void setStartingHashKey(String startingHashKey)
The starting hash key of the hash key range.
- Parameters:
startingHashKey- The starting hash key of the hash key range.
-
getStartingHashKey
public String getStartingHashKey()
The starting hash key of the hash key range.
- Returns:
- The starting hash key of the hash key range.
-
withStartingHashKey
public HashKeyRange withStartingHashKey(String startingHashKey)
The starting hash key of the hash key range.
- Parameters:
startingHashKey- The starting hash key of the hash key range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndingHashKey
public void setEndingHashKey(String endingHashKey)
The ending hash key of the hash key range.
- Parameters:
endingHashKey- The ending hash key of the hash key range.
-
getEndingHashKey
public String getEndingHashKey()
The ending hash key of the hash key range.
- Returns:
- The ending hash key of the hash key range.
-
withEndingHashKey
public HashKeyRange withEndingHashKey(String endingHashKey)
The ending hash key of the hash key range.
- Parameters:
endingHashKey- The ending hash key of the hash key range.- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public HashKeyRange clone()
-
-