Interface ConditionCheck.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConditionCheck.Builder,ConditionCheck>,SdkBuilder<ConditionCheck.Builder,ConditionCheck>,SdkPojo
- Enclosing class:
- ConditionCheck
@Mutable @NotThreadSafe public static interface ConditionCheck.Builder extends SdkPojo, CopyableBuilder<ConditionCheck.Builder,ConditionCheck>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConditionCheck.BuilderconditionExpression(String conditionExpression)A condition that must be satisfied in order for a conditional update to succeed.ConditionCheck.BuilderexpressionAttributeNames(Map<String,String> expressionAttributeNames)One or more substitution tokens for attribute names in an expression.ConditionCheck.BuilderexpressionAttributeValues(Map<String,AttributeValue> expressionAttributeValues)One or more values that can be substituted in an expression.ConditionCheck.Builderkey(Map<String,AttributeValue> key)The primary key of the item to be checked.ConditionCheck.BuilderreturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)UseReturnValuesOnConditionCheckFailureto get the item attributes if theConditionCheckcondition fails.ConditionCheck.BuilderreturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)UseReturnValuesOnConditionCheckFailureto get the item attributes if theConditionCheckcondition fails.ConditionCheck.BuildertableName(String tableName)Name of the table for the check item request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
key
ConditionCheck.Builder key(Map<String,AttributeValue> 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
ConditionCheck.Builder tableName(String 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
ConditionCheck.Builder conditionExpression(String 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
ConditionCheck.Builder expressionAttributeNames(Map<String,String> 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,ReturnValuesOnConditionCheckFailure
-
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:
ReturnValuesOnConditionCheckFailure,ReturnValuesOnConditionCheckFailure
-
-