public static interface Put.Builder extends SdkPojo, CopyableBuilder<Put.Builder,Put>
Modifier and Type | Method and Description |
---|---|
Put.Builder |
conditionExpression(String conditionExpression)
A condition that must be satisfied in order for a conditional update to succeed.
|
Put.Builder |
expressionAttributeNames(Map<String,String> expressionAttributeNames)
One or more substitution tokens for attribute names in an expression.
|
Put.Builder |
expressionAttributeValues(Map<String,AttributeValue> expressionAttributeValues)
One or more values that can be substituted in an expression.
|
Put.Builder |
item(Map<String,AttributeValue> item)
A map of attribute name to attribute values, representing the primary key of the item to be written by
PutItem . |
Put.Builder |
returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
Use
ReturnValuesOnConditionCheckFailure to get the item attributes if the Put
condition fails. |
Put.Builder |
returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
Use
ReturnValuesOnConditionCheckFailure to get the item attributes if the Put
condition fails. |
Put.Builder |
tableName(String tableName)
Name of the table in which to write the item.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Put.Builder item(Map<String,AttributeValue> item)
A map of attribute name to attribute values, representing the primary key of the item to be written by
PutItem
. All of the table's primary key attributes must be specified, and their data types must
match those of the table's key schema. If any attributes are present in the item that are part of an index
key schema for the table, their types must match the index key schema.
item
- A map of attribute name to attribute values, representing the primary key of the item to be written by
PutItem
. All of the table's primary key attributes must be specified, and their data
types must match those of the table's key schema. If any attributes are present in the item that are
part of an index key schema for the table, their types must match the index key schema.Put.Builder tableName(String tableName)
Name of the table in which to write the item.
tableName
- Name of the table in which to write the item.Put.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.Put.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.Put.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.Put.Builder returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the Put
condition fails. For ReturnValuesOnConditionCheckFailure
, the valid values are: NONE and
ALL_OLD.
returnValuesOnConditionCheckFailure
- Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the
Put
condition fails. For ReturnValuesOnConditionCheckFailure
, the valid
values are: NONE and ALL_OLD.ReturnValuesOnConditionCheckFailure
,
ReturnValuesOnConditionCheckFailure
Put.Builder returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the Put
condition fails. For ReturnValuesOnConditionCheckFailure
, the valid values are: NONE and
ALL_OLD.
returnValuesOnConditionCheckFailure
- Use ReturnValuesOnConditionCheckFailure
to get the item attributes if the
Put
condition fails. For ReturnValuesOnConditionCheckFailure
, the valid
values are: NONE and ALL_OLD.ReturnValuesOnConditionCheckFailure
,
ReturnValuesOnConditionCheckFailure
Copyright © 2023. All rights reserved.