@Stability(value=Experimental) public static final class DynamoUpdateItemProps.Builder extends Object
DynamoUpdateItemProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public DynamoUpdateItemProps.Builder partitionKey(DynamoAttribute partitionKey)
DynamoUpdateItemProps.getPartitionKey()partitionKey - The partition key of the item to be updated. This parameter is required.this@Stability(value=Experimental) public DynamoUpdateItemProps.Builder tableName(String tableName)
DynamoUpdateItemProps.getTableName()tableName - The name of the table containing the requested item. This parameter is required.this@Stability(value=Experimental) public DynamoUpdateItemProps.Builder conditionExpression(String conditionExpression)
DynamoUpdateItemProps.getConditionExpression()conditionExpression - A condition that must be satisfied in order for a conditional DeleteItem to succeed.this@Stability(value=Experimental) public DynamoUpdateItemProps.Builder expressionAttributeNames(Map<String,String> expressionAttributeNames)
DynamoUpdateItemProps.getExpressionAttributeNames()expressionAttributeNames - One or more substitution tokens for attribute names in an expression.this@Stability(value=Experimental) public DynamoUpdateItemProps.Builder expressionAttributeValues(DynamoAttributeValueMap expressionAttributeValues)
DynamoUpdateItemProps.getExpressionAttributeValues()expressionAttributeValues - One or more values that can be substituted in an expression.this@Stability(value=Experimental) public DynamoUpdateItemProps.Builder returnConsumedCapacity(DynamoConsumedCapacity returnConsumedCapacity)
DynamoUpdateItemProps.getReturnConsumedCapacity()returnConsumedCapacity - Determines the level of detail about provisioned throughput consumption that is returned in the response.this@Stability(value=Experimental) public DynamoUpdateItemProps.Builder returnItemCollectionMetrics(DynamoItemCollectionMetrics returnItemCollectionMetrics)
DynamoUpdateItemProps.getReturnItemCollectionMetrics()returnItemCollectionMetrics - Determines whether item collection metrics are returned.
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.this@Stability(value=Experimental) public DynamoUpdateItemProps.Builder returnValues(DynamoReturnValues returnValues)
DynamoUpdateItemProps.getReturnValues()returnValues - Use ReturnValues if you want to get the item attributes as they appeared before they were deleted.this@Stability(value=Experimental) public DynamoUpdateItemProps.Builder sortKey(DynamoAttribute sortKey)
DynamoUpdateItemProps.getSortKey()sortKey - The sort key of the item to be updated.this@Stability(value=Experimental) public DynamoUpdateItemProps.Builder updateExpression(String updateExpression)
DynamoUpdateItemProps.getUpdateExpression()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@Stability(value=Experimental) public DynamoUpdateItemProps build()
DynamoUpdateItemPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.