Class UpdateItemResult
java.lang.Object
com.amazonaws.services.dynamodbv2.model.UpdateItemResult
- All Implemented Interfaces:
Serializable, Cloneable
Represents the output of an UpdateItem operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesEntry(String key, AttributeValue value) Removes all the entries added into Attributes.clone()booleanA map of attribute values as they appeared before the UpdateItem operation.inthashCode()voidsetAttributes(Map<String, AttributeValue> attributes) A map of attribute values as they appeared before the UpdateItem operation.voidsetConsumedCapacity(ConsumedCapacity consumedCapacity) voidsetItemCollectionMetrics(ItemCollectionMetrics itemCollectionMetrics) toString()Returns a string representation of this object; useful for testing and debugging.withAttributes(Map<String, AttributeValue> attributes) A map of attribute values as they appeared before the UpdateItem operation.withConsumedCapacity(ConsumedCapacity consumedCapacity) withItemCollectionMetrics(ItemCollectionMetrics itemCollectionMetrics)
-
Constructor Details
-
UpdateItemResult
public UpdateItemResult()
-
-
Method Details
-
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
NONEin 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
NONEin the request. Each element represents one attribute.
-
setAttributes
A map of attribute values as they appeared before the UpdateItem operation. This map only appears if ReturnValues was specified as something other than
NONEin 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 thanNONEin the request. Each element represents one attribute.
-
withAttributes
A map of attribute values as they appeared before the UpdateItem operation. This map only appears if ReturnValues was specified as something other than
NONEin 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 thanNONEin the request. Each element represents one attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAttributesEntry
-
clearAttributesEntries
Removes all the entries added into Attributes. <p> Returns a reference to this object so that method calls can be chained together. -
setConsumedCapacity
- Parameters:
consumedCapacity-
-
getConsumedCapacity
- Returns:
-
withConsumedCapacity
- Parameters:
consumedCapacity-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setItemCollectionMetrics
- Parameters:
itemCollectionMetrics-
-
getItemCollectionMetrics
- Returns:
-
withItemCollectionMetrics
- Parameters:
itemCollectionMetrics-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-