Interface UpdateCollectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateCollectionResponse.Builder,
,UpdateCollectionResponse> OpenSearchServerlessResponse.Builder
,SdkBuilder<UpdateCollectionResponse.Builder,
,UpdateCollectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateCollectionResponse
public static interface UpdateCollectionResponse.Builder
extends OpenSearchServerlessResponse.Builder, SdkPojo, CopyableBuilder<UpdateCollectionResponse.Builder,UpdateCollectionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateCollectionResponse.Builder
updateCollectionDetail
(Consumer<UpdateCollectionDetail.Builder> updateCollectionDetail) Details about the updated collection.updateCollectionDetail
(UpdateCollectionDetail updateCollectionDetail) Details about the updated collection.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
-
updateCollectionDetail
UpdateCollectionResponse.Builder updateCollectionDetail(UpdateCollectionDetail updateCollectionDetail) Details about the updated collection.
- Parameters:
updateCollectionDetail
- Details about the updated collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateCollectionDetail
default UpdateCollectionResponse.Builder updateCollectionDetail(Consumer<UpdateCollectionDetail.Builder> updateCollectionDetail) Details about the updated collection.
This is a convenience method that creates an instance of theUpdateCollectionDetail.Builder
avoiding the need to create one manually viaUpdateCollectionDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateCollectionDetail(UpdateCollectionDetail)
.- Parameters:
updateCollectionDetail
- a consumer that will call methods onUpdateCollectionDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-