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