@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CommitTransactionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CommitTransactionRequest.Builder |
builder() |
SdkBytes |
commitDigest()
Specifies the commit digest for the transaction to commit.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CommitTransactionRequest.Builder> |
serializableBuilderClass() |
CommitTransactionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transactionId()
Specifies the transaction ID of the transaction to commit.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String transactionId()
Specifies the transaction ID of the transaction to commit.
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 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.
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.
public CommitTransactionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CommitTransactionRequest.Builder,CommitTransactionRequest>public static CommitTransactionRequest.Builder builder()
public static Class<? extends CommitTransactionRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.