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()
boolean
A map of attribute values as they appeared before the UpdateItem operation.int
hashCode()
void
setAttributes
(Map<String, AttributeValue> attributes) A map of attribute values as they appeared before the UpdateItem operation.void
setConsumedCapacity
(ConsumedCapacity consumedCapacity) void
setItemCollectionMetrics
(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
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
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 thanNONE
in 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
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 thanNONE
in 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-