Class HashKeyRange
java.lang.Object
com.amazonaws.services.kinesis.model.HashKeyRange
- All Implemented Interfaces:
Serializable
,Cloneable
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ending hash key of the hash key range.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.toString()
Returns a string representation of this object; useful for testing and debugging.withEndingHashKey
(String endingHashKey) The ending hash key of the hash key range.withStartingHashKey
(String startingHashKey) The starting hash key of the hash key range.
-
Constructor Details
-
HashKeyRange
public HashKeyRange()
-
-
Method Details
-
setStartingHashKey
The starting hash key of the hash key range.
- Parameters:
startingHashKey
- The starting hash key of the hash key range.
-
getStartingHashKey
The starting hash key of the hash key range.
- Returns:
- The starting hash key of the hash key range.
-
withStartingHashKey
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
The ending hash key of the hash key range.
- Parameters:
endingHashKey
- The ending hash key of the hash key range.
-
getEndingHashKey
The ending hash key of the hash key range.
- Returns:
- The ending hash key of the hash key range.
-
withEndingHashKey
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-