public static interface Delete.Builder extends SdkPojo, CopyableBuilder<Delete.Builder,Delete>
Modifier and Type | Method and Description |
---|---|
Delete.Builder |
conditionExpression(String conditionExpression)
A condition that must be satisfied in order for a conditional delete to succeed.
|
Delete.Builder |
expressionAttributeNames(Map<String,String> expressionAttributeNames)
One or more substitution tokens for attribute names in an expression.
|
Delete.Builder |
expressionAttributeValues(Map<String,AttributeValue> expressionAttributeValues)
One or more values that can be substituted in an expression.
|
Delete.Builder |
key(Map<String,AttributeValue> key)
The primary key of the item to be deleted.
|
Delete.Builder |
returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
Use
ReturnValuesOnConditionCheckFailure to get the item attributes if the Delete
condition fails. |
Delete.Builder |
returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
Use
ReturnValuesOnConditionCheckFailure to get the item attributes if the Delete
condition fails. |
Delete.Builder |
tableName(String tableName)
Name of the table in which the item to be deleted resides.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Delete.Builder key(Map<String,AttributeValue> key)
The primary key of the item to be deleted. Each element consists of an attribute name and a value for that attribute.
key
- The primary key of the item to be deleted. Each element consists of an attribute name and a value for
that attribute.Delete.Builder tableName(String tableName)
Name of the table in which the item to be deleted resides.
tableName
- Name of the table in which the item to be deleted resides.Delete.Builder conditionExpression(String conditionExpression)
A condition that must be satisfied in order for a conditional delete to succeed.
conditionExpression
- A condition that must be satisfied in order for a conditional delete to succeed.Delete.Builder expressionAttributeNames(Map<String,String> expressionAttributeNames)
One or more substitution tokens for attribute names in an expression.
expressionAttributeNames
- One or more substitution tokens for attribute names in an expression.Delete.Builder expressionAttributeValues(Map<String,AttributeValue> expressionAttributeValues)
One or more values that can be substituted in an expression.
expressionAttributeValues
- One or more values that can be substituted in an expression.Delete.Builder returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the Delete
condition fails. For ReturnValuesOnConditionCheckFailure
, the valid values are: NONE and
ALL_OLD.
returnValuesOnConditionCheckFailure
- Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the
Delete
condition fails. For ReturnValuesOnConditionCheckFailure
, the valid
values are: NONE and ALL_OLD.ReturnValuesOnConditionCheckFailure
,
ReturnValuesOnConditionCheckFailure
Delete.Builder returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the Delete
condition fails. For ReturnValuesOnConditionCheckFailure
, the valid values are: NONE and
ALL_OLD.
returnValuesOnConditionCheckFailure
- Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the
Delete
condition fails. For ReturnValuesOnConditionCheckFailure
, the valid
values are: NONE and ALL_OLD.ReturnValuesOnConditionCheckFailure
,
ReturnValuesOnConditionCheckFailure
Copyright © 2021. All rights reserved.