Interface BatchExecuteStatementResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchExecuteStatementResponse.Builder,
,BatchExecuteStatementResponse> RdsDataResponse.Builder
,SdkBuilder<BatchExecuteStatementResponse.Builder,
,BatchExecuteStatementResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchExecuteStatementResponse
public static interface BatchExecuteStatementResponse.Builder
extends RdsDataResponse.Builder, SdkPojo, CopyableBuilder<BatchExecuteStatementResponse.Builder,BatchExecuteStatementResponse>
-
Method Summary
Modifier and TypeMethodDescriptionupdateResults
(Collection<UpdateResult> updateResults) The execution results of each batch entry.updateResults
(Consumer<UpdateResult.Builder>... updateResults) The execution results of each batch entry.updateResults
(UpdateResult... updateResults) The execution results of each batch entry.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rdsdata.model.RdsDataResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
updateResults
The execution results of each batch entry.
- Parameters:
updateResults
- The execution results of each batch entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateResults
The execution results of each batch entry.
- Parameters:
updateResults
- The execution results of each batch entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateResults
BatchExecuteStatementResponse.Builder updateResults(Consumer<UpdateResult.Builder>... updateResults) The execution results of each batch entry.
This is a convenience method that creates an instance of theUpdateResult.Builder
avoiding the need to create one manually viaUpdateResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateResults(List<UpdateResult>)
.- Parameters:
updateResults
- a consumer that will call methods onUpdateResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-