public class AttributeUpdate extends Object
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 and Description |
---|
AttributeUpdate(String attributeName)
Used to update an attribute.
|
Modifier and Type | Method and Description |
---|---|
AttributeUpdate |
addElements(Object... newElements) |
AttributeUpdate |
addNumeric(Number value) |
AttributeUpdate |
delete() |
AttributeAction |
getAction() |
String |
getAttributeName() |
Set<Object> |
getAttributeValues() |
Object |
getValue() |
AttributeUpdate |
put(Object attributeValue)
Used to update an attribute.
|
AttributeUpdate |
removeElements(Object... elementsToBeRemoved) |
public AttributeUpdate(String attributeName)
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
public AttributeUpdate put(Object attributeValue)
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
public AttributeUpdate delete()
public AttributeUpdate removeElements(Object... elementsToBeRemoved)
public AttributeUpdate addNumeric(Number value)
public AttributeUpdate addElements(Object... newElements)
public String getAttributeName()
public AttributeAction getAction()
public Object getValue()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.