Class TransactUpdateItemEnhancedRequest<T>
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.TransactUpdateItemEnhancedRequest<T>
- Type Parameters:
T
- The type of the modelled object.
Defines parameters used to update an item to a DynamoDb table using the
DynamoDbEnhancedClient.transactWriteItems(TransactWriteItemsEnhancedRequest)
or
DynamoDbEnhancedAsyncClient.transactWriteItems(TransactWriteItemsEnhancedRequest)
operation.
A valid request object must contain the item that should be written to the table.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A builder that is used to create a request with the desired parameters. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TransactUpdateItemEnhancedRequest.Builder
<T> Creates a newly initialized builder for the request object.Returns the conditionExpression
set on this request object, or null if it doesn't exist.boolean
int
hashCode()
Deprecated.Returns the mode of update to be performeditem()
Returns the item for this update operation request.Returns what values to return if the condition check fails.Returns what values to return if the condition check fails.Returns a builder initialized with all existing values on the request object.
-
Method Details
-
builder
public static <T> TransactUpdateItemEnhancedRequest.Builder<T> builder(Class<? extends T> itemClass) Creates 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
-
toBuilder
Returns a builder initialized with all existing values on the request object. -
item
Returns the item for this update operation request. -
ignoreNulls
Deprecated.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() -
ignoreNullsMode
Returns the mode of update to be performed -
conditionExpression
Returns the conditionExpression
set on this request object, or null if it doesn't exist. -
returnValuesOnConditionCheckFailure
Returns what values to return if the condition check fails.If the service returns an enum value that is not available in the current SDK version,
returnValuesOnConditionCheckFailure
will returnReturnValuesOnConditionCheckFailure.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromreturnValuesOnConditionCheckFailureAsString()
.- Returns:
- What values to return on condition check failure.
-
returnValuesOnConditionCheckFailureAsString
Returns what values to return if the condition check fails.If the service returns an enum value that is not available in the current SDK version,
returnValuesOnConditionCheckFailure
will returnReturnValuesOnConditionCheckFailure.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromreturnValuesOnConditionCheckFailureAsString()
.- Returns:
- What values to return on condition check failure.
-
equals
-
hashCode
-