@Stability(value=Experimental) public static final class DynamoUpdateItem.Builder extends Object
DynamoUpdateItem.| Modifier and Type | Method and Description |
|---|---|
DynamoUpdateItem |
build() |
DynamoUpdateItem.Builder |
conditionExpression(String conditionExpression)
A condition that must be satisfied in order for a conditional DeleteItem to succeed.
|
static DynamoUpdateItem.Builder |
create()
EXPERIMENTAL
|
DynamoUpdateItem.Builder |
expressionAttributeNames(Map<String,String> expressionAttributeNames)
One or more substitution tokens for attribute names in an expression.
|
DynamoUpdateItem.Builder |
expressionAttributeValues(DynamoAttributeValueMap expressionAttributeValues)
One or more values that can be substituted in an expression.
|
DynamoUpdateItem.Builder |
partitionKey(DynamoAttribute partitionKey)
The partition key of the item to be updated.
|
DynamoUpdateItem.Builder |
returnConsumedCapacity(DynamoConsumedCapacity returnConsumedCapacity)
Determines the level of detail about provisioned throughput consumption that is returned in the response.
|
DynamoUpdateItem.Builder |
returnItemCollectionMetrics(DynamoItemCollectionMetrics returnItemCollectionMetrics)
Determines whether item collection metrics are returned.
|
DynamoUpdateItem.Builder |
returnValues(DynamoReturnValues returnValues)
Use ReturnValues if you want to get the item attributes as they appeared before they were deleted.
|
DynamoUpdateItem.Builder |
sortKey(DynamoAttribute sortKey)
The sort key of the item to be updated.
|
DynamoUpdateItem.Builder |
tableName(String tableName)
The name of the table containing the requested item.
|
DynamoUpdateItem.Builder |
updateExpression(String updateExpression)
An expression that defines one or more attributes to be updated, the action to be performed on them, and new values for them.
|
@Stability(value=Experimental) public static DynamoUpdateItem.Builder create()
DynamoUpdateItem.Builder.@Stability(value=Experimental) public DynamoUpdateItem.Builder partitionKey(DynamoAttribute partitionKey)
EXPERIMENTAL
partitionKey - The partition key of the item to be updated. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html#DDB-UpdateItem-request-Key@Stability(value=Experimental) public DynamoUpdateItem.Builder tableName(String tableName)
EXPERIMENTAL
tableName - The name of the table containing the requested item. This parameter is required.this@Stability(value=Experimental) public DynamoUpdateItem.Builder conditionExpression(String conditionExpression)
Default: - No condition expression
EXPERIMENTAL
conditionExpression - A condition that must be satisfied in order for a conditional DeleteItem to succeed. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html#DDB-UpdateItem-request-ConditionExpression@Stability(value=Experimental) public DynamoUpdateItem.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_UpdateItem.html#DDB-UpdateItem-request-ExpressionAttributeNames@Stability(value=Experimental) public DynamoUpdateItem.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_UpdateItem.html#DDB-UpdateItem-request-ExpressionAttributeValues@Stability(value=Experimental) public DynamoUpdateItem.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_UpdateItem.html#DDB-UpdateItem-request-ReturnConsumedCapacity@Stability(value=Experimental) public DynamoUpdateItem.Builder returnItemCollectionMetrics(DynamoItemCollectionMetrics returnItemCollectionMetrics)
If set to SIZE, the response includes statistics about item collections, if any, that were modified during the operation are returned in the response. If set to NONE (the default), no statistics are returned.
Default: DynamoItemCollectionMetrics.NONE
EXPERIMENTAL
returnItemCollectionMetrics - Determines whether item collection metrics are returned. This parameter is required.this@Stability(value=Experimental) public DynamoUpdateItem.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 deleted. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html#DDB-UpdateItem-request-ReturnValues@Stability(value=Experimental) public DynamoUpdateItem.Builder sortKey(DynamoAttribute sortKey)
Default: - No sort key
EXPERIMENTAL
sortKey - The sort key of the item to be updated. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html#DDB-UpdateItem-request-Key@Stability(value=Experimental) public DynamoUpdateItem.Builder updateExpression(String updateExpression)
Default: - No update expression
EXPERIMENTAL
updateExpression - An expression that defines one or more attributes to be updated, the action to be performed on them, and new values for them. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html#DDB-UpdateItem-request-UpdateExpression@Stability(value=Experimental) public DynamoUpdateItem build()
Copyright © 2020. All rights reserved.