Class ConditionCheck<T>

java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.ConditionCheck<T>
Type Parameters:
T - The type of the modelled object.
All Implemented Interfaces:
TransactableWriteOperation<T>

@ThreadSafe public final class ConditionCheck<T> extends Object implements TransactableWriteOperation<T>
Use ConditionCheck as a part of the composite operation transactGetItems (for example DynamoDbEnhancedClient.transactGetItems(TransactGetItemsEnhancedRequest)) to determine if the other actions that are part of the same transaction should take effect.

A valid ConditionCheck object should contain a reference to the primary key of the table that finds items with a matching key, together with a condition (of type Expression) to evaluate the primary key.