Interface BatchReadResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudDirectoryResponse.Builder,CopyableBuilder<BatchReadResponse.Builder,,BatchReadResponse> SdkBuilder<BatchReadResponse.Builder,,BatchReadResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchReadResponse
@Mutable
@NotThreadSafe
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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
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.Builderavoiding the need to create one manually viaBatchReadOperationResponse.builder().When the
Consumercompletes,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:
-