Class UpdateItemEnhancedRequest<T>
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.UpdateItemEnhancedRequest<T>
- Type Parameters:
- T- The type of the modelled object.
Defines parameters used to update an item to a DynamoDb table using the updateItem() operation (such as
 
DynamoDbTable.updateItem(UpdateItemEnhancedRequest) or
 DynamoDbAsyncTable.updateItem(UpdateItemEnhancedRequest)).
 A valid request object must contain the item that should be written to the table.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classA builder that is used to create a request with the desired parameters.
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> UpdateItemEnhancedRequest.Builder<T> Creates a newly initialized builder for the request object.Returns the conditionExpressionset on this request object, or null if it doesn't exist.booleaninthashCode()Deprecated.Returns the mode of update to be performeditem()Returns the item for this update operation request.Whether to return the capacity consumed by this operation.Whether to return the capacity consumed by this operation.Whether to return the item collection metrics.Whether to return the item collection metrics.Whether to return the values of the item before this request.Whether to return the values of the item before this request.Whether to return the item on condition check failure.Whether to return the item on condition check failure.Returns a builder initialized with all existing values on the request object.
- 
Method Details- 
builderCreates a newly initialized builder for the request object.- Type Parameters:
- T- The type of the modelled object, corresponding to itemClass
- Parameters:
- itemClass- the class that items in this table map to
- Returns:
- a UpdateItemEnhancedRequest builder
 
- 
toBuilderReturns a builder initialized with all existing values on the request object.
- 
itemReturns the item for this update operation request.
- 
ignoreNullsDeprecated.Returns if the update operation should ignore attributes with null values, or false if it has not been set. This is deprecated in favour of ignoreNullsMode()
- 
ignoreNullsModeReturns the mode of update to be performed
- 
conditionExpressionReturns the conditionExpressionset on this request object, or null if it doesn't exist.
- 
returnValuesWhether to return the values of the item before this request.- See Also:
 
- 
returnValuesAsStringWhether to return the values of the item before this request.Similar to returnValues()but returns the value as a string. This is useful in situations where the value is not defined inReturnValue.
- 
returnConsumedCapacityWhether to return the capacity consumed by this operation.- See Also:
 
- 
returnConsumedCapacityAsStringWhether to return the capacity consumed by this operation.Similar to returnConsumedCapacity()but return the value as a string. This is useful in situations where the value is not defined inReturnConsumedCapacity.
- 
returnItemCollectionMetricsWhether to return the item collection metrics.- See Also:
 
- 
returnItemCollectionMetricsAsStringWhether to return the item collection metrics.Similar to returnItemCollectionMetrics()but return the value as a string. This is useful in situations where the value is not defined inReturnItemCollectionMetrics.
- 
returnValuesOnConditionCheckFailureWhether to return the item on condition check failure.- See Also:
 
- 
returnValuesOnConditionCheckFailureAsStringWhether to return the item on condition check failure.Similar to returnValuesOnConditionCheckFailure()but return the value as a string. This is useful in situations where the value is not defined inReturnValuesOnConditionCheckFailure.
- 
equals
- 
hashCode
 
-