Interface CommitTransactionRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CommitTransactionRequest.Builder,
,CommitTransactionRequest> SdkBuilder<CommitTransactionRequest.Builder,
,CommitTransactionRequest> SdkPojo
- Enclosing class:
CommitTransactionRequest
-
Method Summary
Modifier and TypeMethodDescriptioncommitDigest
(SdkBytes commitDigest) Specifies the commit digest for the transaction to commit.transactionId
(String transactionId) Specifies the transaction ID of the transaction to commit.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
transactionId
Specifies the transaction ID of the transaction to commit.
- Parameters:
transactionId
- Specifies the transaction ID of the transaction to commit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitDigest
Specifies the commit digest for the transaction to commit. For every active transaction, the commit digest must be passed. QLDB validates
CommitDigest
and rejects the commit with an error if the digest computed on the client does not match the digest computed by QLDB.The purpose of the
CommitDigest
parameter is to ensure that QLDB commits a transaction if and only if the server has processed the exact set of statements sent by the client, in the same order that client sent them, and with no duplicates.- Parameters:
commitDigest
- Specifies the commit digest for the transaction to commit. For every active transaction, the commit digest must be passed. QLDB validatesCommitDigest
and rejects the commit with an error if the digest computed on the client does not match the digest computed by QLDB.The purpose of the
CommitDigest
parameter is to ensure that QLDB commits a transaction if and only if the server has processed the exact set of statements sent by the client, in the same order that client sent them, and with no duplicates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-