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() |
ItemCollectionMetrics |
getItemCollectionMetrics() |
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) |
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) |
UpdateItemResult |
withItemCollectionMetrics(ItemCollectionMetrics itemCollectionMetrics) |
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
- public ConsumedCapacity getConsumedCapacity()
public UpdateItemResult withConsumedCapacity(ConsumedCapacity consumedCapacity)
consumedCapacity
- public void setItemCollectionMetrics(ItemCollectionMetrics itemCollectionMetrics)
itemCollectionMetrics
- public ItemCollectionMetrics getItemCollectionMetrics()
public UpdateItemResult withItemCollectionMetrics(ItemCollectionMetrics itemCollectionMetrics)
itemCollectionMetrics
- public String toString()
toString
in class Object
Object.toString()
public UpdateItemResult clone()
Copyright © 2016. All rights reserved.