Interface SendCommandResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SendCommandResponse.Builder,
,SendCommandResponse> QldbSessionResponse.Builder
,SdkBuilder<SendCommandResponse.Builder,
,SendCommandResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SendCommandResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault SendCommandResponse.Builder
abortTransaction
(Consumer<AbortTransactionResult.Builder> abortTransaction) Contains the details of the aborted transaction.abortTransaction
(AbortTransactionResult abortTransaction) Contains the details of the aborted transaction.default SendCommandResponse.Builder
commitTransaction
(Consumer<CommitTransactionResult.Builder> commitTransaction) Contains the details of the committed transaction.commitTransaction
(CommitTransactionResult commitTransaction) Contains the details of the committed transaction.default SendCommandResponse.Builder
endSession
(Consumer<EndSessionResult.Builder> endSession) Contains the details of the ended session.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.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.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.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.startTransaction
(StartTransactionResult startTransaction) Contains the details of the started transaction.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qldbsession.model.QldbSessionResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.- Parameters:
startSession
- Contains the details of the started session that includes a session token. ThisSessionToken
is required for every subsequent command that is issued during the current session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startSession
Contains the details of the started session that includes a session token. This
This is a convenience method that creates an instance of theSessionToken
is required for every subsequent command that is issued during the current session.StartSessionResult.Builder
avoiding the need to create one manually viaStartSessionResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartSession(StartSessionResult)
.- Parameters:
startSession
- a consumer that will call methods onStartSessionResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTransaction
Contains the details of the started transaction.
- Parameters:
startTransaction
- Contains the details of the started transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTransaction
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 viaStartTransactionResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartTransaction(StartTransactionResult)
.- Parameters:
startTransaction
- a consumer that will call methods onStartTransactionResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endSession
Contains the details of the ended session.
- Parameters:
endSession
- Contains the details of the ended session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaEndSessionResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendSession(EndSessionResult)
.- Parameters:
endSession
- a consumer that will call methods onEndSessionResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
commitTransaction
Contains the details of the committed transaction.
- Parameters:
commitTransaction
- Contains the details of the committed transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitTransaction
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 viaCommitTransactionResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommitTransaction(CommitTransactionResult)
.- Parameters:
commitTransaction
- a consumer that will call methods onCommitTransactionResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
abortTransaction
Contains the details of the aborted transaction.
- Parameters:
abortTransaction
- Contains the details of the aborted transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
abortTransaction
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 viaAbortTransactionResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toabortTransaction(AbortTransactionResult)
.- Parameters:
abortTransaction
- a consumer that will call methods onAbortTransactionResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executeStatement
Contains the details of the executed statement.
- Parameters:
executeStatement
- Contains the details of the executed statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executeStatement
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 viaExecuteStatementResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecuteStatement(ExecuteStatementResult)
.- Parameters:
executeStatement
- a consumer that will call methods onExecuteStatementResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fetchPage
Contains the details of the fetched page.
- Parameters:
fetchPage
- Contains the details of the fetched page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaFetchPageResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofetchPage(FetchPageResult)
.- Parameters:
fetchPage
- a consumer that will call methods onFetchPageResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-