Interface ConditionCheck.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConditionCheck.Builder,,ConditionCheck> SdkBuilder<ConditionCheck.Builder,,ConditionCheck> SdkPojo
- Enclosing class:
ConditionCheck
-
Method Summary
Modifier and TypeMethodDescriptionconditionExpression(String conditionExpression) A condition that must be satisfied in order for a conditional update 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 checked.returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure) UseReturnValuesOnConditionCheckFailureto get the item attributes if theConditionCheckcondition fails.returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure) UseReturnValuesOnConditionCheckFailureto get the item attributes if theConditionCheckcondition fails.Name of the table for the check item request.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 checked. Each element consists of an attribute name and a value for that attribute.
- Parameters:
key- The primary key of the item to be checked. 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 for the check item request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
- Parameters:
tableName- Name of the table for the check item request. 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 update to succeed. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.
- Parameters:
conditionExpression- A condition that must be satisfied in order for a conditional update to succeed. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.- 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. For more information, see Expression attribute names in the Amazon DynamoDB Developer Guide.
- Parameters:
expressionAttributeNames- One or more substitution tokens for attribute names in an expression. For more information, see Expression attribute names in the Amazon DynamoDB Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expressionAttributeValues
ConditionCheck.Builder expressionAttributeValues(Map<String, AttributeValue> expressionAttributeValues) One or more values that can be substituted in an expression. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.
- Parameters:
expressionAttributeValues- One or more values that can be substituted in an expression. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnValuesOnConditionCheckFailure
ConditionCheck.Builder returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure) Use
ReturnValuesOnConditionCheckFailureto get the item attributes if theConditionCheckcondition fails. ForReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.- Parameters:
returnValuesOnConditionCheckFailure- UseReturnValuesOnConditionCheckFailureto get the item attributes if theConditionCheckcondition 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
ConditionCheck.Builder returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure) Use
ReturnValuesOnConditionCheckFailureto get the item attributes if theConditionCheckcondition fails. ForReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.- Parameters:
returnValuesOnConditionCheckFailure- UseReturnValuesOnConditionCheckFailureto get the item attributes if theConditionCheckcondition 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:
-