Interface CommitTransactionRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CommitTransactionRequest.Builder,CommitTransactionRequest>,SdkBuilder<CommitTransactionRequest.Builder,CommitTransactionRequest>,SdkPojo
- Enclosing class:
- CommitTransactionRequest
public static interface CommitTransactionRequest.Builder extends SdkPojo, CopyableBuilder<CommitTransactionRequest.Builder,CommitTransactionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommitTransactionRequest.BuildercommitDigest(SdkBytes commitDigest)Specifies the commit digest for the transaction to commit.CommitTransactionRequest.BuildertransactionId(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 Detail
-
transactionId
CommitTransactionRequest.Builder transactionId(String 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
CommitTransactionRequest.Builder commitDigest(SdkBytes commitDigest)
Specifies the commit digest for the transaction to commit. For every active transaction, the commit digest must be passed. QLDB validates
CommitDigestand 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
CommitDigestparameter 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 validatesCommitDigestand 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
CommitDigestparameter 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.
-
-