public class UpdateItemResult extends Object implements Serializable, Cloneable
Represents the output of an UpdateItem operation.
Constructor and Description |
---|
UpdateItemResult() |
Modifier and Type | Method and Description |
---|---|
UpdateItemResult |
addAttributesEntry(String key,
AttributeValue value) |
UpdateItemResult |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
UpdateItemResult |
clone() |
boolean |
equals(Object obj) |
Map<String,AttributeValue> |
getAttributes()
A map of attribute values as they appeared before the UpdateItem
operation.
|
ConsumedCapacity |
getConsumedCapacity()
Returns the value of the ConsumedCapacity property for this object.
|
ItemCollectionMetrics |
getItemCollectionMetrics()
Returns the value of the ItemCollectionMetrics property for this object.
|
int |
hashCode() |
void |
setAttributes(Map<String,AttributeValue> attributes)
A map of attribute values as they appeared before the UpdateItem
operation.
|
void |
setConsumedCapacity(ConsumedCapacity consumedCapacity)
Sets the value of the ConsumedCapacity property for this object.
|
void |
setItemCollectionMetrics(ItemCollectionMetrics itemCollectionMetrics)
Sets the value of the ItemCollectionMetrics property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateItemResult |
withAttributes(Map<String,AttributeValue> attributes)
A map of attribute values as they appeared before the UpdateItem
operation.
|
UpdateItemResult |
withConsumedCapacity(ConsumedCapacity consumedCapacity)
Sets the value of the ConsumedCapacity property for this object.
|
UpdateItemResult |
withItemCollectionMetrics(ItemCollectionMetrics itemCollectionMetrics)
Sets the value of the ItemCollectionMetrics property for this object.
|
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.
NONE
in the request. Each element represents one
attribute.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.
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.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.
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.public UpdateItemResult addAttributesEntry(String key, AttributeValue value)
public UpdateItemResult clearAttributesEntries()
public void setConsumedCapacity(ConsumedCapacity consumedCapacity)
consumedCapacity
- The new value for the ConsumedCapacity property for this object.public ConsumedCapacity getConsumedCapacity()
public UpdateItemResult withConsumedCapacity(ConsumedCapacity consumedCapacity)
consumedCapacity
- The new value for the ConsumedCapacity property for this object.public void setItemCollectionMetrics(ItemCollectionMetrics itemCollectionMetrics)
itemCollectionMetrics
- The new value for the ItemCollectionMetrics property for this
object.public ItemCollectionMetrics getItemCollectionMetrics()
public UpdateItemResult withItemCollectionMetrics(ItemCollectionMetrics itemCollectionMetrics)
itemCollectionMetrics
- The new value for the ItemCollectionMetrics property for this
object.public String toString()
toString
in class Object
Object.toString()
public UpdateItemResult clone()
Copyright © 2015. All rights reserved.