@Generated(value="software.amazon.awssdk:codegen") public final class SendCommandRequest extends QldbSessionRequest implements ToCopyableBuilder<SendCommandRequest.Builder,SendCommandRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SendCommandRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
AbortTransactionRequest |
abortTransaction()
Command to abort the current transaction.
|
static SendCommandRequest.Builder |
builder() |
CommitTransactionRequest |
commitTransaction()
Command to commit the specified transaction.
|
EndSessionRequest |
endSession()
Command to end the current session.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExecuteStatementRequest |
executeStatement()
Command to execute a statement in the specified transaction.
|
FetchPageRequest |
fetchPage()
Command to fetch a page.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SendCommandRequest.Builder> |
serializableBuilderClass() |
String |
sessionToken()
Specifies the session token for the current command.
|
StartSessionRequest |
startSession()
Command to start a new session.
|
StartTransactionRequest |
startTransaction()
Command to start a new transaction.
|
SendCommandRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String sessionToken()
Specifies the session token for the current command. A session token is constant throughout the life of the session.
To obtain a session token, run the StartSession command. This SessionToken is required
for every subsequent command that is issued during the current session.
To obtain a session token, run the StartSession command. This SessionToken is
required for every subsequent command that is issued during the current session.
public StartSessionRequest startSession()
Command to start a new session. A session token is obtained as part of the response.
public StartTransactionRequest startTransaction()
Command to start a new transaction.
public EndSessionRequest endSession()
Command to end the current session.
public CommitTransactionRequest commitTransaction()
Command to commit the specified transaction.
public AbortTransactionRequest abortTransaction()
Command to abort the current transaction.
public ExecuteStatementRequest executeStatement()
Command to execute a statement in the specified transaction.
public FetchPageRequest fetchPage()
Command to fetch a page.
public SendCommandRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SendCommandRequest.Builder,SendCommandRequest>toBuilder in class QldbSessionRequestpublic static SendCommandRequest.Builder builder()
public static Class<? extends SendCommandRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.