Class SendCommandResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.qldbsession.model.QldbSessionResponse
-
- software.amazon.awssdk.services.qldbsession.model.SendCommandResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SendCommandResponse.Builder,SendCommandResponse>
@Generated("software.amazon.awssdk:codegen") public final class SendCommandResponse extends QldbSessionResponse implements ToCopyableBuilder<SendCommandResponse.Builder,SendCommandResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSendCommandResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AbortTransactionResultabortTransaction()Contains the details of the aborted transaction.static SendCommandResponse.Builderbuilder()CommitTransactionResultcommitTransaction()Contains the details of the committed transaction.EndSessionResultendSession()Contains the details of the ended session.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExecuteStatementResultexecuteStatement()Contains the details of the executed statement.FetchPageResultfetchPage()Contains the details of the fetched page.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends SendCommandResponse.Builder>serializableBuilderClass()StartSessionResultstartSession()Contains the details of the started session that includes a session token.StartTransactionResultstartTransaction()Contains the details of the started transaction.SendCommandResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.qldbsession.model.QldbSessionResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
startSession
public final StartSessionResult startSession()
Contains the details of the started session that includes a session token. This
SessionTokenis required for every subsequent command that is issued during the current session.- Returns:
- Contains the details of the started session that includes a session token. This
SessionTokenis required for every subsequent command that is issued during the current session.
-
startTransaction
public final StartTransactionResult startTransaction()
Contains the details of the started transaction.
- Returns:
- Contains the details of the started transaction.
-
endSession
public final EndSessionResult endSession()
Contains the details of the ended session.
- Returns:
- Contains the details of the ended session.
-
commitTransaction
public final CommitTransactionResult commitTransaction()
Contains the details of the committed transaction.
- Returns:
- Contains the details of the committed transaction.
-
abortTransaction
public final AbortTransactionResult abortTransaction()
Contains the details of the aborted transaction.
- Returns:
- Contains the details of the aborted transaction.
-
executeStatement
public final ExecuteStatementResult executeStatement()
Contains the details of the executed statement.
- Returns:
- Contains the details of the executed statement.
-
fetchPage
public final FetchPageResult fetchPage()
Contains the details of the fetched page.
- Returns:
- Contains the details of the fetched page.
-
toBuilder
public SendCommandResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SendCommandResponse.Builder,SendCommandResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static SendCommandResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends SendCommandResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-