public static interface ConditionCheck.Builder extends SdkPojo, CopyableBuilder<ConditionCheck.Builder,ConditionCheck>
Modifier and Type | Method and 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(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
Use
ReturnValuesOnConditionCheckFailure to get the item attributes if the
ConditionCheck condition fails. |
ConditionCheck.Builder |
returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
Use
ReturnValuesOnConditionCheckFailure to get the item attributes if the
ConditionCheck condition fails. |
ConditionCheck.Builder |
tableName(String tableName)
Name of the table for the check item request.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
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.
key
- The primary key of the item to be checked. Each element consists of an attribute name and a value for
that attribute.ConditionCheck.Builder tableName(String tableName)
Name of the table for the check item request.
tableName
- Name of the table for the check item request.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.
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.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.
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.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.
expressionAttributeValues
- One or more values that can be substituted in an expression. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.ConditionCheck.Builder returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the
ConditionCheck
condition fails. For ReturnValuesOnConditionCheckFailure
, the valid
values are: NONE and ALL_OLD.
returnValuesOnConditionCheckFailure
- Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the
ConditionCheck
condition fails. For ReturnValuesOnConditionCheckFailure
, the
valid values are: NONE and ALL_OLD.ReturnValuesOnConditionCheckFailure
,
ReturnValuesOnConditionCheckFailure
ConditionCheck.Builder returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the
ConditionCheck
condition fails. For ReturnValuesOnConditionCheckFailure
, the valid
values are: NONE and ALL_OLD.
returnValuesOnConditionCheckFailure
- Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the
ConditionCheck
condition fails. For ReturnValuesOnConditionCheckFailure
, the
valid values are: NONE and ALL_OLD.ReturnValuesOnConditionCheckFailure
,
ReturnValuesOnConditionCheckFailure
Copyright © 2023. All rights reserved.