Class PrimaryKeyValue


  • public final class PrimaryKeyValue
    extends Object
    DynamoDB primary key value (hash key, with optional range key).
    • Constructor Detail

      • PrimaryKeyValue

        public PrimaryKeyValue​(String hashKeyValue,
                               String rangeKeyValue)
        Creates a new DynamoDB primary key value.
        Parameters:
        hashKeyValue - The hash key value. Must not be null.
        rangeKeyValue - The optional range key value, null if none.
    • Method Detail

      • getHashKeyValue

        public String getHashKeyValue()
        Returns the hash key value.
        Returns:
        The hash key value.
      • getRangeKeyValue

        public String getRangeKeyValue()
        Returns the range key value.
        Returns:
        The range key value, null if none.