@Stability(value=Experimental) public static final class DynamoPutItem.Builder extends Object
DynamoPutItem.| Modifier and Type | Method and Description |
|---|---|
DynamoPutItem |
build() |
DynamoPutItem.Builder |
conditionExpression(String conditionExpression)
A condition that must be satisfied in order for a conditional PutItem operation to succeed.
|
static DynamoPutItem.Builder |
create()
EXPERIMENTAL
|
DynamoPutItem.Builder |
expressionAttributeNames(Map<String,String> expressionAttributeNames)
One or more substitution tokens for attribute names in an expression.
|
DynamoPutItem.Builder |
expressionAttributeValues(DynamoAttributeValueMap expressionAttributeValues)
One or more values that can be substituted in an expression.
|
DynamoPutItem.Builder |
item(DynamoAttributeValueMap item)
A map of attribute name/value pairs, one for each attribute.
|
DynamoPutItem.Builder |
returnConsumedCapacity(DynamoConsumedCapacity returnConsumedCapacity)
Determines the level of detail about provisioned throughput consumption that is returned in the response.
|
DynamoPutItem.Builder |
returnItemCollectionMetrics(DynamoItemCollectionMetrics returnItemCollectionMetrics)
The item collection metrics to returned in the response.
|
DynamoPutItem.Builder |
returnValues(DynamoReturnValues returnValues)
Use ReturnValues if you want to get the item attributes as they appeared before they were updated with the PutItem request.
|
DynamoPutItem.Builder |
tableName(String tableName)
The name of the table where the item should be writen .
|
@Stability(value=Experimental) public static DynamoPutItem.Builder create()
DynamoPutItem.Builder.@Stability(value=Experimental) public DynamoPutItem.Builder item(DynamoAttributeValueMap item)
Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.
EXPERIMENTAL
item - A map of attribute name/value pairs, one for each attribute. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html#DDB-PutItem-request-Item@Stability(value=Experimental) public DynamoPutItem.Builder tableName(String tableName)
EXPERIMENTAL
tableName - The name of the table where the item should be writen . This parameter is required.this@Stability(value=Experimental) public DynamoPutItem.Builder conditionExpression(String conditionExpression)
Default: - No condition expression
EXPERIMENTAL
conditionExpression - A condition that must be satisfied in order for a conditional PutItem operation to succeed. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html#DDB-PutItem-request-ConditionExpression@Stability(value=Experimental) public DynamoPutItem.Builder expressionAttributeNames(Map<String,String> expressionAttributeNames)
Default: - No expression attribute names
EXPERIMENTAL
expressionAttributeNames - One or more substitution tokens for attribute names in an expression. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html#DDB-PutItem-request-ExpressionAttributeNames@Stability(value=Experimental) public DynamoPutItem.Builder expressionAttributeValues(DynamoAttributeValueMap expressionAttributeValues)
Default: - No expression attribute values
EXPERIMENTAL
expressionAttributeValues - One or more values that can be substituted in an expression. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html#DDB-PutItem-request-ExpressionAttributeValues@Stability(value=Experimental) public DynamoPutItem.Builder returnConsumedCapacity(DynamoConsumedCapacity returnConsumedCapacity)
Default: DynamoConsumedCapacity.NONE
EXPERIMENTAL
returnConsumedCapacity - Determines the level of detail about provisioned throughput consumption that is returned in the response. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html#DDB-PutItem-request-ReturnConsumedCapacity@Stability(value=Experimental) public DynamoPutItem.Builder returnItemCollectionMetrics(DynamoItemCollectionMetrics returnItemCollectionMetrics)
Default: DynamoItemCollectionMetrics.NONE
EXPERIMENTAL
returnItemCollectionMetrics - The item collection metrics to returned in the response. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LSI.html#LSI.ItemCollections@Stability(value=Experimental) public DynamoPutItem.Builder returnValues(DynamoReturnValues returnValues)
Default: DynamoReturnValues.NONE
EXPERIMENTAL
returnValues - Use ReturnValues if you want to get the item attributes as they appeared before they were updated with the PutItem request. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html#DDB-PutItem-request-ReturnValues@Stability(value=Experimental) public DynamoPutItem build()
Copyright © 2020. All rights reserved.