Class CommitTransactionRequest
- java.lang.Object
-
- software.amazon.awssdk.services.qldbsession.model.CommitTransactionRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CommitTransactionRequest.Builder,CommitTransactionRequest>
@Generated("software.amazon.awssdk:codegen") public final class CommitTransactionRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CommitTransactionRequest.Builder,CommitTransactionRequest>
Contains the details of the transaction to commit.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCommitTransactionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommitTransactionRequest.Builderbuilder()SdkBytescommitDigest()Specifies the commit digest for the transaction to commit.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CommitTransactionRequest.Builder>serializableBuilderClass()CommitTransactionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtransactionId()Specifies the transaction ID of the transaction to commit.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
transactionId
public final String transactionId()
Specifies the transaction ID of the transaction to commit.
- Returns:
- Specifies the transaction ID of the transaction to commit.
-
commitDigest
public final 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.- Returns:
- 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.
-
toBuilder
public CommitTransactionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CommitTransactionRequest.Builder,CommitTransactionRequest>
-
builder
public static CommitTransactionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CommitTransactionRequest.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-