Class AttributeUpdate
java.lang.Object
com.amazonaws.services.dynamodbv2.document.AttributeUpdate
Used to update an attribute. Each instance of AttributeUpdate includes the
name, action and new value to be used for modifying the attribute.
Typical usages:
new AttributeUpdate("strAttr").put("attrValue");
new AttributeUpdate("intAttr").addNumeric(42);
...
See http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/ API_UpdateItem.html#DDB-UpdateItem-request-AttributeUpdates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddElements
(Object... newElements) addNumeric
(Number value) delete()
getValue()
Used to update an attribute.removeElements
(Object... elementsToBeRemoved)
-
Constructor Details
-
AttributeUpdate
Used to update an attribute. Each instance of AttributeUpdate includes the name, action and new value to be used for modifying the attribute.Typical usages:
new AttributeUpdate("strAttr").put("attrValue");
new AttributeUpdate("intAttr").addNumeric(42);
...
See http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/ API_UpdateItem.html#DDB-UpdateItem-request-AttributeUpdates
-
-
Method Details
-
put
Used to update an attribute. Each instance of AttributeUpdate includes the name, action and new value to be used for modifying the attribute.Typical usages:
new AttributeUpdate("strAttr").put("attrValue");
new AttributeUpdate("intAttr").addNumeric(42);
...
See http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/ API_UpdateItem.html#DDB-UpdateItem-request-AttributeUpdates
-
delete
-
removeElements
-
addNumeric
-
addElements
-
getAttributeName
-
getAction
-
getAttributeValues
-
getValue
-