|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodbv2.datamodeling.DynamoDBSaveExpression
public class DynamoDBSaveExpression
Enables adding options to a save operation. For example, you may want to save only if an attribute has a particular value.
DynamoDBMapper.save(Object, DynamoDBSaveExpression)
Constructor Summary | |
---|---|
DynamoDBSaveExpression()
Deprecated. |
Method Summary | |
---|---|
java.lang.String |
getConditionalOperator()
Deprecated. Returns the logical operator on the expected value conditions of this save operation. |
java.util.Map<java.lang.String,ExpectedAttributeValue> |
getExpected()
Deprecated. Gets the map of attribute names to expected attribute values to check on save. |
void |
setConditionalOperator(ConditionalOperator conditionalOperator)
Deprecated. Sets the logical operator on the expected value conditions of this save operation. |
void |
setConditionalOperator(java.lang.String conditionalOperator)
Deprecated. Sets the logical operator on the expected value conditions of this save operation. |
void |
setExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expectedAttributes)
Deprecated. Sets the expected condition to the map of attribute names to expected attribute values given. |
DynamoDBSaveExpression |
withConditionalOperator(ConditionalOperator conditionalOperator)
Deprecated. Sets the logical operator on the expected value conditions of this save operation and returns a pointer to this object for method-chaining. |
DynamoDBSaveExpression |
withConditionalOperator(java.lang.String conditionalOperator)
Deprecated. Sets the logical operator on the expected value conditions of this save operation and returns a pointer to this object for method-chaining. |
DynamoDBSaveExpression |
withExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expectedAttributes)
Deprecated. Sets the expected condition to the map of attribute names to expected attribute values given and returns a pointer to this object for method-chaining. |
DynamoDBSaveExpression |
withExpectedEntry(java.lang.String attributeName,
ExpectedAttributeValue expected)
Deprecated. Adds one entry to the expected conditions and returns a pointer to this object for method-chaining. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamoDBSaveExpression()
Method Detail |
---|
public java.util.Map<java.lang.String,ExpectedAttributeValue> getExpected()
public void setExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expectedAttributes)
expectedAttributes
- The map of attribute names to expected attribute value conditions to check on savepublic DynamoDBSaveExpression withExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expectedAttributes)
expectedAttributes
- The map of attribute names to expected attribute value
conditions to check on savepublic DynamoDBSaveExpression withExpectedEntry(java.lang.String attributeName, ExpectedAttributeValue expected)
attributeName
- The name of the attribute.expected
- The expected attribute value.public java.lang.String getConditionalOperator()
public void setConditionalOperator(java.lang.String conditionalOperator)
public DynamoDBSaveExpression withConditionalOperator(java.lang.String conditionalOperator)
public void setConditionalOperator(ConditionalOperator conditionalOperator)
public DynamoDBSaveExpression withConditionalOperator(ConditionalOperator conditionalOperator)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |