Interface DescribeDomainsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDomainsResponse.Builder,,DescribeDomainsResponse> OpenSearchResponse.Builder,SdkBuilder<DescribeDomainsResponse.Builder,,DescribeDomainsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDomainsResponse
public static interface DescribeDomainsResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<DescribeDomainsResponse.Builder,DescribeDomainsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomainStatusList(Collection<DomainStatus> domainStatusList) The status of the requested domains.domainStatusList(Consumer<DomainStatus.Builder>... domainStatusList) The status of the requested domains.domainStatusList(DomainStatus... domainStatusList) The status of the requested domains.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.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
-
domainStatusList
The status of the requested domains.
- Parameters:
domainStatusList- The status of the requested domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainStatusList
The status of the requested domains.
- Parameters:
domainStatusList- The status of the requested domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainStatusList
DescribeDomainsResponse.Builder domainStatusList(Consumer<DomainStatus.Builder>... domainStatusList) The status of the requested domains.
This is a convenience method that creates an instance of theDomainStatus.Builderavoiding the need to create one manually viaDomainStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomainStatusList(List<DomainStatus>).- Parameters:
domainStatusList- a consumer that will call methods onDomainStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-