Class UpdateItemResult

    • Constructor Detail

      • UpdateItemResult

        public UpdateItemResult()
    • Method Detail

      • getAttributes

        public Map<String,​AttributeValue> getAttributes()

        A map of attribute values as they appeared before the UpdateItem operation. This map only appears if ReturnValues was specified as something other than NONE in the request. Each element represents one attribute.

        Returns:
        A map of attribute values as they appeared before the UpdateItem operation. This map only appears if ReturnValues was specified as something other than NONE in the request. Each element represents one attribute.
      • setAttributes

        public void setAttributes​(Map<String,​AttributeValue> attributes)

        A map of attribute values as they appeared before the UpdateItem operation. This map only appears if ReturnValues was specified as something other than NONE in the request. Each element represents one attribute.

        Parameters:
        attributes - A map of attribute values as they appeared before the UpdateItem operation. This map only appears if ReturnValues was specified as something other than NONE in the request. Each element represents one attribute.
      • withAttributes

        public UpdateItemResult withAttributes​(Map<String,​AttributeValue> attributes)

        A map of attribute values as they appeared before the UpdateItem operation. This map only appears if ReturnValues was specified as something other than NONE in the request. Each element represents one attribute.

        Parameters:
        attributes - A map of attribute values as they appeared before the UpdateItem operation. This map only appears if ReturnValues was specified as something other than NONE in the request. Each element represents one attribute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearAttributesEntries

        public UpdateItemResult clearAttributesEntries()
        Removes all the entries added into Attributes. <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 UpdateItemResult withConsumedCapacity​(ConsumedCapacity consumedCapacity)
        Parameters:
        consumedCapacity -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setItemCollectionMetrics

        public void setItemCollectionMetrics​(ItemCollectionMetrics itemCollectionMetrics)
        Parameters:
        itemCollectionMetrics -
      • withItemCollectionMetrics

        public UpdateItemResult withItemCollectionMetrics​(ItemCollectionMetrics itemCollectionMetrics)
        Parameters:
        itemCollectionMetrics -
        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