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.BuilderabortTransaction(Consumer<AbortTransactionResult.Builder> abortTransaction) Contains the details of the aborted transaction.abortTransaction(AbortTransactionResult abortTransaction) Contains the details of the aborted transaction.default SendCommandResponse.BuildercommitTransaction(Consumer<CommitTransactionResult.Builder> commitTransaction) Contains the details of the committed transaction.commitTransaction(CommitTransactionResult commitTransaction) Contains the details of the committed transaction.default SendCommandResponse.BuilderendSession(Consumer<EndSessionResult.Builder> endSession) Contains the details of the ended session.endSession(EndSessionResult endSession) Contains the details of the ended session.default SendCommandResponse.BuilderexecuteStatement(Consumer<ExecuteStatementResult.Builder> executeStatement) Contains the details of the executed statement.executeStatement(ExecuteStatementResult executeStatement) Contains the details of the executed statement.default SendCommandResponse.BuilderfetchPage(Consumer<FetchPageResult.Builder> fetchPage) Contains the details of the fetched page.fetchPage(FetchPageResult fetchPage) Contains the details of the fetched page.default SendCommandResponse.BuilderstartSession(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.BuilderstartTransaction(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
copyMethods inherited from interface software.amazon.awssdk.services.qldbsession.model.QldbSessionResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
SessionTokenis 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. ThisSessionTokenis 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 theSessionTokenis required for every subsequent command that is issued during the current session.StartSessionResult.Builderavoiding the need to create one manually viaStartSessionResult.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaStartTransactionResult.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEndSessionResult.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCommitTransactionResult.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAbortTransactionResult.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaExecuteStatementResult.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFetchPageResult.builder().When the
Consumercompletes,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:
-