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