public class DynamoDBSaveExpression
extends java.lang.Object
Constructor and Description |
---|
DynamoDBSaveExpression() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConditionalOperator()
Returns the logical operator on the expected value conditions of this
save operation.
|
java.util.Map<java.lang.String,ExpectedAttributeValue> |
getExpected()
Gets the map of attribute names to expected attribute values to check on
save.
|
void |
setConditionalOperator(ConditionalOperator conditionalOperator)
Sets the logical operator on the expected value conditions of this save
operation.
|
void |
setConditionalOperator(java.lang.String conditionalOperator)
Sets the logical operator on the expected value conditions of this save
operation.
|
void |
setExpected(java.util.Map<java.lang.String,ExpectedAttributeValue> expectedAttributes)
Sets the expected condition to the map of attribute names to expected
attribute values given.
|
DynamoDBSaveExpression |
withConditionalOperator(ConditionalOperator conditionalOperator)
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)
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)
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)
Adds one entry to the expected conditions and returns a pointer to this
object for method-chaining.
|
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 save.DynamoDBSaveExpression
public DynamoDBSaveExpression withExpectedEntry(java.lang.String attributeName, ExpectedAttributeValue expected)
attributeName
- The name of the attribute.expected
- The expected attribute value.DynamoDBSaveExpression
public java.lang.String getConditionalOperator()
public void setConditionalOperator(java.lang.String conditionalOperator)
conditionalOperator
- the conditional operator.public DynamoDBSaveExpression withConditionalOperator(java.lang.String conditionalOperator)
conditionalOperator
- the conditional operator.DynamoDBSaveExpression
public void setConditionalOperator(ConditionalOperator conditionalOperator)
conditionalOperator
- the conditional operator.public DynamoDBSaveExpression withConditionalOperator(ConditionalOperator conditionalOperator)
conditionalOperator
- the conditional operator.DynamoDBSaveExpression
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.