Class TransactDeleteItemEnhancedRequest
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.model.TransactDeleteItemEnhancedRequest
-
@ThreadSafe public final class TransactDeleteItemEnhancedRequest extends Object
Defines parameters used to delete an item from a DynamoDb table using theDynamoDbEnhancedClient.transactWriteItems(TransactWriteItemsEnhancedRequest)
orDynamoDbEnhancedAsyncClient.transactWriteItems(TransactWriteItemsEnhancedRequest)
operation.A valid request object must contain a primary
Key
to reference the item to delete.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransactDeleteItemEnhancedRequest.Builder
A builder that is used to create a request with the desired parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransactDeleteItemEnhancedRequest.Builder
builder()
Creates a newly initialized builder for a request object.Expression
conditionExpression()
Returns the conditionExpression
set on this request object, or null if it doesn't exist.boolean
equals(Object o)
int
hashCode()
Key
key()
Returns the primaryKey
for the item to delete.ReturnValuesOnConditionCheckFailure
returnValuesOnConditionCheckFailure()
Returns what values to return if the condition check fails.String
returnValuesOnConditionCheckFailureAsString()
Returns what values to return if the condition check fails.TransactDeleteItemEnhancedRequest.Builder
toBuilder()
Returns a builder initialized with all existing values on the request object.
-
-
-
Method Detail
-
builder
public static TransactDeleteItemEnhancedRequest.Builder builder()
Creates a newly initialized builder for a request object.
-
toBuilder
public TransactDeleteItemEnhancedRequest.Builder toBuilder()
Returns a builder initialized with all existing values on the request object.
-
conditionExpression
public Expression conditionExpression()
Returns the conditionExpression
set on this request object, or null if it doesn't exist.
-
returnValuesOnConditionCheckFailure
public ReturnValuesOnConditionCheckFailure 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
public String 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.
-
-