Class GetItemResult

    • Constructor Detail

      • GetItemResult

        public GetItemResult()
    • Method Detail

      • getItem

        public Map<String,​AttributeValue> getItem()

        A map of attribute names to AttributeValue objects, as specified by AttributesToGet.

        Returns:
        A map of attribute names to AttributeValue objects, as specified by AttributesToGet.
      • setItem

        public void setItem​(Map<String,​AttributeValue> item)

        A map of attribute names to AttributeValue objects, as specified by AttributesToGet.

        Parameters:
        item - A map of attribute names to AttributeValue objects, as specified by AttributesToGet.
      • withItem

        public GetItemResult withItem​(Map<String,​AttributeValue> item)

        A map of attribute names to AttributeValue objects, as specified by AttributesToGet.

        Parameters:
        item - A map of attribute names to AttributeValue objects, as specified by AttributesToGet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearItemEntries

        public GetItemResult clearItemEntries()
        Removes all the entries added into Item. <p> Returns a reference to this object so that method calls can be chained together.
      • setConsumedCapacity

        public void setConsumedCapacity​(ConsumedCapacity consumedCapacity)
        Parameters:
        consumedCapacity -
      • withConsumedCapacity

        public GetItemResult withConsumedCapacity​(ConsumedCapacity consumedCapacity)
        Parameters:
        consumedCapacity -
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object