Interface DissociatePackageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DissociatePackageResponse.Builder,
,DissociatePackageResponse> OpenSearchResponse.Builder
,SdkBuilder<DissociatePackageResponse.Builder,
,DissociatePackageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DissociatePackageResponse
public static interface DissociatePackageResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<DissociatePackageResponse.Builder,DissociatePackageResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomainPackageDetails
(Consumer<DomainPackageDetails.Builder> domainPackageDetails) Information about a package that has been dissociated from the domain.domainPackageDetails
(DomainPackageDetails domainPackageDetails) Information about a package that has been dissociated from the domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.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
-
domainPackageDetails
Information about a package that has been dissociated from the domain.
- Parameters:
domainPackageDetails
- Information about a package that has been dissociated from the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainPackageDetails
default DissociatePackageResponse.Builder domainPackageDetails(Consumer<DomainPackageDetails.Builder> domainPackageDetails) Information about a package that has been dissociated from the domain.
This is a convenience method that creates an instance of theDomainPackageDetails.Builder
avoiding the need to create one manually viaDomainPackageDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomainPackageDetails(DomainPackageDetails)
.- Parameters:
domainPackageDetails
- a consumer that will call methods onDomainPackageDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-