@Generated(value="software.amazon.awssdk:codegen") public final class StartTransactionRequest extends LakeFormationRequest implements ToCopyableBuilder<StartTransactionRequest.Builder,StartTransactionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartTransactionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartTransactionRequest.Builder |
builder() |
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 StartTransactionRequest.Builder> |
serializableBuilderClass() |
StartTransactionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TransactionType |
transactionType()
Indicates whether this transaction should be read only or read and write.
|
String |
transactionTypeAsString()
Indicates whether this transaction should be read only or read and write.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TransactionType transactionType()
Indicates whether this transaction should be read only or read and write. Writes made using a read-only transaction ID will be rejected. Read-only transactions do not need to be committed.
If the service returns an enum value that is not available in the current SDK version, transactionType
will return TransactionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from transactionTypeAsString().
TransactionTypepublic final String transactionTypeAsString()
Indicates whether this transaction should be read only or read and write. Writes made using a read-only transaction ID will be rejected. Read-only transactions do not need to be committed.
If the service returns an enum value that is not available in the current SDK version, transactionType
will return TransactionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from transactionTypeAsString().
TransactionTypepublic StartTransactionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartTransactionRequest.Builder,StartTransactionRequest>toBuilder in class LakeFormationRequestpublic static StartTransactionRequest.Builder builder()
public static Class<? extends StartTransactionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.