Interface BatchGetCollectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchGetCollectionResponse.Builder,
,BatchGetCollectionResponse> OpenSearchServerlessResponse.Builder
,SdkBuilder<BatchGetCollectionResponse.Builder,
,BatchGetCollectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetCollectionResponse
public static interface BatchGetCollectionResponse.Builder
extends OpenSearchServerlessResponse.Builder, SdkPojo, CopyableBuilder<BatchGetCollectionResponse.Builder,BatchGetCollectionResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncollectionDetails
(Collection<CollectionDetail> collectionDetails) Details about each collection.collectionDetails
(Consumer<CollectionDetail.Builder>... collectionDetails) Details about each collection.collectionDetails
(CollectionDetail... collectionDetails) Details about each collection.collectionErrorDetails
(Collection<CollectionErrorDetail> collectionErrorDetails) Error information for the request.collectionErrorDetails
(Consumer<CollectionErrorDetail.Builder>... collectionErrorDetails) Error information for the request.collectionErrorDetails
(CollectionErrorDetail... collectionErrorDetails) Error information for the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessResponse.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
-
collectionDetails
BatchGetCollectionResponse.Builder collectionDetails(Collection<CollectionDetail> collectionDetails) Details about each collection.
- Parameters:
collectionDetails
- Details about each collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectionDetails
Details about each collection.
- Parameters:
collectionDetails
- Details about each collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectionDetails
BatchGetCollectionResponse.Builder collectionDetails(Consumer<CollectionDetail.Builder>... collectionDetails) Details about each collection.
This is a convenience method that creates an instance of theCollectionDetail.Builder
avoiding the need to create one manually viaCollectionDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocollectionDetails(List<CollectionDetail>)
.- Parameters:
collectionDetails
- a consumer that will call methods onCollectionDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
collectionErrorDetails
BatchGetCollectionResponse.Builder collectionErrorDetails(Collection<CollectionErrorDetail> collectionErrorDetails) Error information for the request.
- Parameters:
collectionErrorDetails
- Error information for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectionErrorDetails
BatchGetCollectionResponse.Builder collectionErrorDetails(CollectionErrorDetail... collectionErrorDetails) Error information for the request.
- Parameters:
collectionErrorDetails
- Error information for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectionErrorDetails
BatchGetCollectionResponse.Builder collectionErrorDetails(Consumer<CollectionErrorDetail.Builder>... collectionErrorDetails) Error information for the request.
This is a convenience method that creates an instance of theCollectionErrorDetail.Builder
avoiding the need to create one manually viaCollectionErrorDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocollectionErrorDetails(List<CollectionErrorDetail>)
.- Parameters:
collectionErrorDetails
- a consumer that will call methods onCollectionErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-