Interface Delete.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Delete.Builder,,Delete> SdkBuilder<Delete.Builder,,Delete> SdkPojo
- Enclosing class:
Delete
-
Method Summary
Modifier and TypeMethodDescriptionconditionExpression(String conditionExpression) A condition that must be satisfied in order for a conditional delete to succeed.expressionAttributeNames(Map<String, String> expressionAttributeNames) One or more substitution tokens for attribute names in an expression.expressionAttributeValues(Map<String, AttributeValue> expressionAttributeValues) One or more values that can be substituted in an expression.key(Map<String, AttributeValue> key) The primary key of the item to be deleted.returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure) UseReturnValuesOnConditionCheckFailureto get the item attributes if theDeletecondition fails.returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure) UseReturnValuesOnConditionCheckFailureto get the item attributes if theDeletecondition fails.Name of the table in which the item to be deleted resides.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
key
The primary key of the item to be deleted. Each element consists of an attribute name and a value for that attribute.
- Parameters:
key- The primary key of the item to be deleted. Each element consists of an attribute name and a value for that attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
Name of the table in which the item to be deleted resides. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
- Parameters:
tableName- Name of the table in which the item to be deleted resides. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditionExpression
A condition that must be satisfied in order for a conditional delete to succeed.
- Parameters:
conditionExpression- A condition that must be satisfied in order for a conditional delete to succeed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expressionAttributeNames
One or more substitution tokens for attribute names in an expression.
- Parameters:
expressionAttributeNames- One or more substitution tokens for attribute names in an expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expressionAttributeValues
One or more values that can be substituted in an expression.
- Parameters:
expressionAttributeValues- One or more values that can be substituted in an expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnValuesOnConditionCheckFailure
Use
ReturnValuesOnConditionCheckFailureto get the item attributes if theDeletecondition fails. ForReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.- Parameters:
returnValuesOnConditionCheckFailure- UseReturnValuesOnConditionCheckFailureto get the item attributes if theDeletecondition fails. ForReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
returnValuesOnConditionCheckFailure
Delete.Builder returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure) Use
ReturnValuesOnConditionCheckFailureto get the item attributes if theDeletecondition fails. ForReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.- Parameters:
returnValuesOnConditionCheckFailure- UseReturnValuesOnConditionCheckFailureto get the item attributes if theDeletecondition fails. ForReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-