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.
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.
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.
expressionAttributeValues
- One or more values that can be substituted in an expression.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 © 2022. All rights reserved.