public static interface SendCommandRequest.Builder extends QldbSessionRequest.Builder, SdkPojo, CopyableBuilder<SendCommandRequest.Builder,SendCommandRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildSendCommandRequest.Builder sessionToken(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.
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.
SendCommandRequest.Builder startSession(StartSessionRequest startSession)
Command to start a new session. A session token is obtained as part of the response.
startSession - Command to start a new session. A session token is obtained as part of the response.default SendCommandRequest.Builder startSession(Consumer<StartSessionRequest.Builder> startSession)
Command to start a new session. A session token is obtained as part of the response.
This is a convenience method that creates an instance of theStartSessionRequest.Builder avoiding the
need to create one manually via StartSessionRequest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to startSession(StartSessionRequest).
startSession - a consumer that will call methods on StartSessionRequest.BuilderstartSession(StartSessionRequest)SendCommandRequest.Builder startTransaction(StartTransactionRequest startTransaction)
Command to start a new transaction.
startTransaction - Command to start a new transaction.default SendCommandRequest.Builder startTransaction(Consumer<StartTransactionRequest.Builder> startTransaction)
Command to start a new transaction.
This is a convenience method that creates an instance of theStartTransactionRequest.Builder avoiding
the need to create one manually via StartTransactionRequest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to startTransaction(StartTransactionRequest).
startTransaction - a consumer that will call methods on StartTransactionRequest.BuilderstartTransaction(StartTransactionRequest)SendCommandRequest.Builder endSession(EndSessionRequest endSession)
Command to end the current session.
endSession - Command to end the current session.default SendCommandRequest.Builder endSession(Consumer<EndSessionRequest.Builder> endSession)
Command to end the current session.
This is a convenience method that creates an instance of theEndSessionRequest.Builder avoiding the
need to create one manually via EndSessionRequest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to endSession(EndSessionRequest).
endSession - a consumer that will call methods on EndSessionRequest.BuilderendSession(EndSessionRequest)SendCommandRequest.Builder commitTransaction(CommitTransactionRequest commitTransaction)
Command to commit the specified transaction.
commitTransaction - Command to commit the specified transaction.default SendCommandRequest.Builder commitTransaction(Consumer<CommitTransactionRequest.Builder> commitTransaction)
Command to commit the specified transaction.
This is a convenience method that creates an instance of theCommitTransactionRequest.Builder
avoiding the need to create one manually via CommitTransactionRequest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to commitTransaction(CommitTransactionRequest).
commitTransaction - a consumer that will call methods on CommitTransactionRequest.BuildercommitTransaction(CommitTransactionRequest)SendCommandRequest.Builder abortTransaction(AbortTransactionRequest abortTransaction)
Command to abort the current transaction.
abortTransaction - Command to abort the current transaction.default SendCommandRequest.Builder abortTransaction(Consumer<AbortTransactionRequest.Builder> abortTransaction)
Command to abort the current transaction.
This is a convenience method that creates an instance of theAbortTransactionRequest.Builder avoiding
the need to create one manually via AbortTransactionRequest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to abortTransaction(AbortTransactionRequest).
abortTransaction - a consumer that will call methods on AbortTransactionRequest.BuilderabortTransaction(AbortTransactionRequest)SendCommandRequest.Builder executeStatement(ExecuteStatementRequest executeStatement)
Command to execute a statement in the specified transaction.
executeStatement - Command to execute a statement in the specified transaction.default SendCommandRequest.Builder executeStatement(Consumer<ExecuteStatementRequest.Builder> executeStatement)
Command to execute a statement in the specified transaction.
This is a convenience method that creates an instance of theExecuteStatementRequest.Builder avoiding
the need to create one manually via ExecuteStatementRequest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to executeStatement(ExecuteStatementRequest).
executeStatement - a consumer that will call methods on ExecuteStatementRequest.BuilderexecuteStatement(ExecuteStatementRequest)SendCommandRequest.Builder fetchPage(FetchPageRequest fetchPage)
Command to fetch a page.
fetchPage - Command to fetch a page.default SendCommandRequest.Builder fetchPage(Consumer<FetchPageRequest.Builder> fetchPage)
Command to fetch a page.
This is a convenience method that creates an instance of theFetchPageRequest.Builder avoiding the
need to create one manually via FetchPageRequest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to fetchPage(FetchPageRequest).
fetchPage - a consumer that will call methods on FetchPageRequest.BuilderfetchPage(FetchPageRequest)SendCommandRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderSendCommandRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.