public static interface SendCommandResponse.Builder extends QldbSessionResponse.Builder, SdkPojo, CopyableBuilder<SendCommandResponse.Builder,SendCommandResponse>
| Modifier and Type | Method and Description |
|---|---|
SendCommandResponse.Builder |
abortTransaction(AbortTransactionResult abortTransaction)
Contains the details of the aborted transaction.
|
default SendCommandResponse.Builder |
abortTransaction(Consumer<AbortTransactionResult.Builder> abortTransaction)
Contains the details of the aborted transaction.
|
SendCommandResponse.Builder |
commitTransaction(CommitTransactionResult commitTransaction)
Contains the details of the committed transaction.
|
default SendCommandResponse.Builder |
commitTransaction(Consumer<CommitTransactionResult.Builder> commitTransaction)
Contains the details of the committed transaction.
|
default SendCommandResponse.Builder |
endSession(Consumer<EndSessionResult.Builder> endSession)
Contains the details of the ended session.
|
SendCommandResponse.Builder |
endSession(EndSessionResult endSession)
Contains the details of the ended session.
|
default SendCommandResponse.Builder |
executeStatement(Consumer<ExecuteStatementResult.Builder> executeStatement)
Contains the details of the executed statement.
|
SendCommandResponse.Builder |
executeStatement(ExecuteStatementResult executeStatement)
Contains the details of the executed statement.
|
default SendCommandResponse.Builder |
fetchPage(Consumer<FetchPageResult.Builder> fetchPage)
Contains the details of the fetched page.
|
SendCommandResponse.Builder |
fetchPage(FetchPageResult fetchPage)
Contains the details of the fetched page.
|
default SendCommandResponse.Builder |
startSession(Consumer<StartSessionResult.Builder> startSession)
Contains the details of the started session that includes a session token.
|
SendCommandResponse.Builder |
startSession(StartSessionResult startSession)
Contains the details of the started session that includes a session token.
|
default SendCommandResponse.Builder |
startTransaction(Consumer<StartTransactionResult.Builder> startTransaction)
Contains the details of the started transaction.
|
SendCommandResponse.Builder |
startTransaction(StartTransactionResult startTransaction)
Contains the details of the started transaction.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSendCommandResponse.Builder startSession(StartSessionResult startSession)
Contains the details of the started session that includes a session token. This SessionToken is
required for every subsequent command that is issued during the current session.
startSession - Contains the details of the started session that includes a session token. This
SessionToken is required for every subsequent command that is issued during the current
session.default SendCommandResponse.Builder startSession(Consumer<StartSessionResult.Builder> startSession)
Contains the details of the started session that includes a session token. This SessionToken is
required for every subsequent command that is issued during the current session.
StartSessionResult.Builder avoiding the
need to create one manually via StartSessionResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to startSession(StartSessionResult).startSession - a consumer that will call methods on StartSessionResult.BuilderstartSession(StartSessionResult)SendCommandResponse.Builder startTransaction(StartTransactionResult startTransaction)
Contains the details of the started transaction.
startTransaction - Contains the details of the started transaction.default SendCommandResponse.Builder startTransaction(Consumer<StartTransactionResult.Builder> startTransaction)
Contains the details of the started transaction.
This is a convenience method that creates an instance of theStartTransactionResult.Builder avoiding
the need to create one manually via StartTransactionResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to startTransaction(StartTransactionResult).startTransaction - a consumer that will call methods on StartTransactionResult.BuilderstartTransaction(StartTransactionResult)SendCommandResponse.Builder endSession(EndSessionResult endSession)
Contains the details of the ended session.
endSession - Contains the details of the ended session.default SendCommandResponse.Builder endSession(Consumer<EndSessionResult.Builder> endSession)
Contains the details of the ended session.
This is a convenience method that creates an instance of theEndSessionResult.Builder avoiding the
need to create one manually via EndSessionResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to endSession(EndSessionResult).endSession - a consumer that will call methods on EndSessionResult.BuilderendSession(EndSessionResult)SendCommandResponse.Builder commitTransaction(CommitTransactionResult commitTransaction)
Contains the details of the committed transaction.
commitTransaction - Contains the details of the committed transaction.default SendCommandResponse.Builder commitTransaction(Consumer<CommitTransactionResult.Builder> commitTransaction)
Contains the details of the committed transaction.
This is a convenience method that creates an instance of theCommitTransactionResult.Builder avoiding
the need to create one manually via CommitTransactionResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to commitTransaction(CommitTransactionResult).commitTransaction - a consumer that will call methods on CommitTransactionResult.BuildercommitTransaction(CommitTransactionResult)SendCommandResponse.Builder abortTransaction(AbortTransactionResult abortTransaction)
Contains the details of the aborted transaction.
abortTransaction - Contains the details of the aborted transaction.default SendCommandResponse.Builder abortTransaction(Consumer<AbortTransactionResult.Builder> abortTransaction)
Contains the details of the aborted transaction.
This is a convenience method that creates an instance of theAbortTransactionResult.Builder avoiding
the need to create one manually via AbortTransactionResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to abortTransaction(AbortTransactionResult).abortTransaction - a consumer that will call methods on AbortTransactionResult.BuilderabortTransaction(AbortTransactionResult)SendCommandResponse.Builder executeStatement(ExecuteStatementResult executeStatement)
Contains the details of the executed statement.
executeStatement - Contains the details of the executed statement.default SendCommandResponse.Builder executeStatement(Consumer<ExecuteStatementResult.Builder> executeStatement)
Contains the details of the executed statement.
This is a convenience method that creates an instance of theExecuteStatementResult.Builder avoiding
the need to create one manually via ExecuteStatementResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to executeStatement(ExecuteStatementResult).executeStatement - a consumer that will call methods on ExecuteStatementResult.BuilderexecuteStatement(ExecuteStatementResult)SendCommandResponse.Builder fetchPage(FetchPageResult fetchPage)
Contains the details of the fetched page.
fetchPage - Contains the details of the fetched page.default SendCommandResponse.Builder fetchPage(Consumer<FetchPageResult.Builder> fetchPage)
Contains the details of the fetched page.
This is a convenience method that creates an instance of theFetchPageResult.Builder avoiding the
need to create one manually via FetchPageResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to fetchPage(FetchPageResult).fetchPage - a consumer that will call methods on FetchPageResult.BuilderfetchPage(FetchPageResult)Copyright © 2022. All rights reserved.