T
- The type of the modelled object.@ThreadSafe public class TransactUpdateItemEnhancedRequest<T> extends Object
DynamoDbEnhancedClient.transactWriteItems(TransactWriteItemsEnhancedRequest)
or
DynamoDbEnhancedAsyncClient.transactWriteItems(TransactWriteItemsEnhancedRequest)
operation.
A valid request object must contain the item that should be written to the table.
Modifier and Type | Class and Description |
---|---|
static class |
TransactUpdateItemEnhancedRequest.Builder<T>
A builder that is used to create a request with the desired parameters.
|
Modifier and Type | Method and Description |
---|---|
static <T> TransactUpdateItemEnhancedRequest.Builder<T> |
builder(Class<? extends T> itemClass)
Creates a newly initialized builder for the request object.
|
Expression |
conditionExpression()
Returns the condition
Expression set on this request object, or null if it doesn't exist. |
boolean |
equals(Object o) |
int |
hashCode() |
Boolean |
ignoreNulls()
Returns if the update operation should ignore attributes with null values, or false if it has not been set.
|
T |
item()
Returns the item for this update operation request.
|
ReturnValuesOnConditionCheckFailure |
returnValuesOnConditionCheckFailure()
Returns what values to return if the condition check fails.
|
String |
returnValuesOnConditionCheckFailureAsString()
Returns what values to return if the condition check fails.
|
TransactUpdateItemEnhancedRequest.Builder<T> |
toBuilder()
Returns a builder initialized with all existing values on the request object.
|
public static <T> TransactUpdateItemEnhancedRequest.Builder<T> builder(Class<? extends T> itemClass)
T
- The type of the modelled object, corresponding to itemClassitemClass
- the class that items in this table map topublic TransactUpdateItemEnhancedRequest.Builder<T> toBuilder()
public T item()
public Boolean ignoreNulls()
public Expression conditionExpression()
Expression
set on this request object, or null if it doesn't exist.public ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure()
If the service returns an enum value that is not available in the current SDK version,
returnValuesOnConditionCheckFailure
will return
ReturnValuesOnConditionCheckFailure.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from returnValuesOnConditionCheckFailureAsString()
.
public String returnValuesOnConditionCheckFailureAsString()
If the service returns an enum value that is not available in the current SDK version,
returnValuesOnConditionCheckFailure
will return
ReturnValuesOnConditionCheckFailure.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from returnValuesOnConditionCheckFailureAsString()
.
Copyright © 2023. All rights reserved.