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:
  • Constructor Details

    • HashKeyRange

      public HashKeyRange()
  • Method Details

    • 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public HashKeyRange clone()
      Overrides:
      clone in class Object