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.BuilderupdateCollectionDetail(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
copyMethods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaUpdateCollectionDetail.builder().When the
Consumercompletes,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:
-