Class TransactWriteItemsEnhancedRequest

    • Method Detail

      • clientRequestToken

        public String clientRequestToken()

        Providing a ClientRequestToken makes the call to TransactWriteItems idempotent, meaning that multiple identical calls have the same effect as one single call.

        A client request token is valid for 10 minutes after the first request that uses it is completed. After 10 minutes, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 10 minutes, or the result might not be idempotent.

        If you submit a request with the same client token but a change in other parameters within the 10-minute idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.

      • returnConsumedCapacityAsString

        public String returnConsumedCapacityAsString()
        Whether 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 in ReturnConsumedCapacity.

      • returnItemCollectionMetricsAsString

        public String returnItemCollectionMetricsAsString()
        Whether to return the item collection metrics.

        Similar to returnConsumedCapacity() but return the value as a string. This is useful in situations where the value is not defined in ReturnConsumedCapacity.

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object