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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateCollectionResponse.BuilderupdateCollectionDetail(Consumer<UpdateCollectionDetail.Builder> updateCollectionDetail)Details about the updated collection.UpdateCollectionResponse.BuilderupdateCollectionDetail(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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:
updateCollectionDetail(UpdateCollectionDetail)
-
-