public class DynamoDbDeleteExpression extends Object
Constructor | Description |
---|---|
DynamoDbDeleteExpression() |
Modifier and Type | Method | Description |
---|---|---|
DynamoDbDeleteExpression |
addExpressionAttributeNamesEntry(String key,
String value) |
One or more substitution variables for simplifying complex expressions.
|
DynamoDbDeleteExpression |
addExpressionAttributeValuesEntry(String key,
AttributeValue value) |
One or more values that can be substituted in an expression.
|
DynamoDbDeleteExpression |
clearExpressionAttributeNamesEntries() |
Removes all the entries added into ExpressionAttributeNames.
|
DynamoDbDeleteExpression |
clearExpressionAttributeValuesEntries() |
Removes all the entries added into ExpressionAttributeValues.
|
String |
getConditionalOperator() |
Returns the logical operator on the expected attribute conditions of this
delete operation.
|
String |
getConditionExpression() |
A condition that must be satisfied in order for a conditional DeleteItem
to succeed.
|
Map<String,ExpectedAttributeValue> |
getExpected() |
Gets the map of attribute names to expected attribute values to check on delete.
|
Map<String,String> |
getExpressionAttributeNames() |
One or more substitution variables for simplifying complex expressions.
|
Map<String,AttributeValue> |
getExpressionAttributeValues() |
One or more values that can be substituted in an expression.
|
void |
setConditionalOperator(String conditionalOperator) |
Sets the logical operator on the expected attribute conditions of this
delete operation.
|
void |
setConditionalOperator(ConditionalOperator conditionalOperator) |
Sets the logical operator on the expected attribute conditions of this
delete operation.
|
void |
setConditionExpression(String conditionExpression) |
A condition that must be satisfied in order for a conditional DeleteItem
to succeed.
|
void |
setExpected(Map<String,ExpectedAttributeValue> expectedAttributes) |
Sets the expected condition to the map of attribute names to expected attribute values given.
|
void |
setExpressionAttributeNames(Map<String,String> expressionAttributeNames) |
One or more substitution variables for simplifying complex expressions.
|
void |
setExpressionAttributeValues(Map<String,AttributeValue> expressionAttributeValues) |
One or more values that can be substituted in an expression.
|
DynamoDbDeleteExpression |
withConditionalOperator(String conditionalOperator) |
Sets the logical operator on the expected attribute conditions of this
delete operation and returns a pointer to this object for
method-chaining.
|
DynamoDbDeleteExpression |
withConditionalOperator(ConditionalOperator conditionalOperator) |
Sets the logical operator on the expected attribute conditions of this
delete operation and returns a pointer to this object for
method-chaining.
|
DynamoDbDeleteExpression |
withConditionExpression(String conditionExpression) |
A condition that must be satisfied in order for a conditional DeleteItem
to succeed.
|
DynamoDbDeleteExpression |
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.
|
DynamoDbDeleteExpression |
withExpectedEntry(String attributeName,
ExpectedAttributeValue expected) |
Adds one entry to the expected conditions and returns a pointer to this
object for method-chaining.
|
DynamoDbDeleteExpression |
withExpressionAttributeNames(Map<String,String> expressionAttributeNames) |
One or more substitution variables for simplifying complex expressions.
|
DynamoDbDeleteExpression |
withExpressionAttributeValues(Map<String,AttributeValue> expressionAttributeValues) |
One or more values that can be substituted in an expression.
|
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 deletepublic DynamoDbDeleteExpression withExpected(Map<String,ExpectedAttributeValue> expectedAttributes)
expectedAttributes
- The map of attribute names to expected attribute value
conditions to check on deletepublic DynamoDbDeleteExpression 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 DynamoDbDeleteExpression withConditionalOperator(String conditionalOperator)
public DynamoDbDeleteExpression withConditionalOperator(ConditionalOperator conditionalOperator)
public String getConditionExpression()
DeleteItemRequest#getConditionExpression()
public void setConditionExpression(String conditionExpression)
DeleteItemRequest#setConditionExpression()
public DynamoDbDeleteExpression withConditionExpression(String conditionExpression)
DeleteItemRequest#withConditionExpression(String)
public Map<String,String> getExpressionAttributeNames()
DeleteItemRequest#getExpressionAttributeNames()
public void setExpressionAttributeNames(Map<String,String> expressionAttributeNames)
expressionAttributeNames
- One or more substitution variables for simplifying complex
expressions.DeleteItemRequest#setExpressionAttributeNames(Map)
public DynamoDbDeleteExpression withExpressionAttributeNames(Map<String,String> expressionAttributeNames)
expressionAttributeNames
- One or more substitution variables for simplifying complex
expressions.DeleteItemRequest#withExpressionAttributeNames(Map)
public DynamoDbDeleteExpression addExpressionAttributeNamesEntry(String key, String value)
key
- The key of the entry to be added into
ExpressionAttributeNames.value
- The corresponding value of the entry to be added into
ExpressionAttributeNames.DeleteItemRequest#addExpressionAttributeNamesEntry(String, String)
public DynamoDbDeleteExpression clearExpressionAttributeNamesEntries()
Returns a reference to this object so that method calls can be chained together.
public Map<String,AttributeValue> getExpressionAttributeValues()
DeleteItemRequest#getExpressionAttributeValues()
public void setExpressionAttributeValues(Map<String,AttributeValue> expressionAttributeValues)
expressionAttributeValues
- One or more values that can be substituted in an expression.DeleteItemRequest#setExpressionAttributeValues(Map)
public DynamoDbDeleteExpression withExpressionAttributeValues(Map<String,AttributeValue> expressionAttributeValues)
expressionAttributeValues
- One or more values that can be substituted in an expression.DeleteItemRequest#withExpressionAttributeValues(Map)
public DynamoDbDeleteExpression addExpressionAttributeValuesEntry(String key, AttributeValue value)
key
- The key of the entry to be added into
ExpressionAttributeValues.value
- The corresponding value of the entry to be added into
ExpressionAttributeValues.DeleteItemRequest#addExpressionAttributeValuesEntry(String,
AttributeValue)
public DynamoDbDeleteExpression clearExpressionAttributeValuesEntries()
Returns a reference to this object so that method calls can be chained together.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.