Interface BatchReadResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudDirectoryResponse.Builder
,CopyableBuilder<BatchReadResponse.Builder,
,BatchReadResponse> SdkBuilder<BatchReadResponse.Builder,
,BatchReadResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchReadResponse
public static interface BatchReadResponse.Builder
extends CloudDirectoryResponse.Builder, SdkPojo, CopyableBuilder<BatchReadResponse.Builder,BatchReadResponse>
-
Method Summary
Modifier and TypeMethodDescriptionresponses
(Collection<BatchReadOperationResponse> responses) A list of all the responses for each batch read.responses
(Consumer<BatchReadOperationResponse.Builder>... responses) A list of all the responses for each batch read.responses
(BatchReadOperationResponse... responses) A list of all the responses for each batch read.Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
responses
A list of all the responses for each batch read.
- Parameters:
responses
- A list of all the responses for each batch read.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
A list of all the responses for each batch read.
- Parameters:
responses
- A list of all the responses for each batch read.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
A list of all the responses for each batch read.
This is a convenience method that creates an instance of theBatchReadOperationResponse.Builder
avoiding the need to create one manually viaBatchReadOperationResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresponses(List<BatchReadOperationResponse>)
.- Parameters:
responses
- a consumer that will call methods onBatchReadOperationResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-