Interface ConditionCheck.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ConditionCheck.Builder,ConditionCheck>
,SdkBuilder<ConditionCheck.Builder,ConditionCheck>
,SdkPojo
- Enclosing class:
- ConditionCheck
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.Builder
conditionExpression(String conditionExpression)
A condition that must be satisfied in order for a conditional update to succeed.ConditionCheck.Builder
expressionAttributeNames(Map<String,String> expressionAttributeNames)
One or more substitution tokens for attribute names in an expression.ConditionCheck.Builder
expressionAttributeValues(Map<String,AttributeValue> expressionAttributeValues)
One or more values that can be substituted in an expression.ConditionCheck.Builder
key(Map<String,AttributeValue> key)
The primary key of the item to be checked.ConditionCheck.Builder
returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
UseReturnValuesOnConditionCheckFailure
to get the item attributes if theConditionCheck
condition fails.ConditionCheck.Builder
returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
UseReturnValuesOnConditionCheckFailure
to get the item attributes if theConditionCheck
condition fails.ConditionCheck.Builder
tableName(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, 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.
- Parameters:
tableName
- Name of the table for the check item request.- 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
ReturnValuesOnConditionCheckFailure
to get the item attributes if theConditionCheck
condition fails. ForReturnValuesOnConditionCheckFailure
, the valid values are: NONE and ALL_OLD.- Parameters:
returnValuesOnConditionCheckFailure
- UseReturnValuesOnConditionCheckFailure
to get the item attributes if theConditionCheck
condition 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
ReturnValuesOnConditionCheckFailure
to get the item attributes if theConditionCheck
condition fails. ForReturnValuesOnConditionCheckFailure
, the valid values are: NONE and ALL_OLD.- Parameters:
returnValuesOnConditionCheckFailure
- UseReturnValuesOnConditionCheckFailure
to get the item attributes if theConditionCheck
condition 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
-
-