public static interface BatchReadResponse.Builder extends CloudDirectoryResponse.Builder, CopyableBuilder<BatchReadResponse.Builder,BatchReadResponse>
Modifier and Type | Method and Description |
---|---|
BatchReadResponse.Builder |
responses(BatchReadOperationResponse... responses)
A list of all the responses for each batch read.
|
BatchReadResponse.Builder |
responses(Collection<BatchReadOperationResponse> responses)
A list of all the responses for each batch read.
|
BatchReadResponse.Builder |
responses(Consumer<BatchReadOperationResponse.Builder>... responses)
A list of all the responses for each batch read.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
BatchReadResponse.Builder responses(Collection<BatchReadOperationResponse> responses)
A list of all the responses for each batch read.
responses
- A list of all the responses for each batch read.BatchReadResponse.Builder responses(BatchReadOperationResponse... responses)
A list of all the responses for each batch read.
responses
- A list of all the responses for each batch read.BatchReadResponse.Builder responses(Consumer<BatchReadOperationResponse.Builder>... responses)
A list of all the responses for each batch read.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #responses(List)
.responses
- a consumer that will call methods on List.Builder
#responses(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.