Interface DescribeDomainsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudSearchResponse.Builder
,CopyableBuilder<DescribeDomainsResponse.Builder,
,DescribeDomainsResponse> SdkBuilder<DescribeDomainsResponse.Builder,
,DescribeDomainsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDomainsResponse
public static interface DescribeDomainsResponse.Builder
extends CloudSearchResponse.Builder, SdkPojo, CopyableBuilder<DescribeDomainsResponse.Builder,DescribeDomainsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomainStatusList
(Collection<DomainStatus> domainStatusList) Sets the value of the DomainStatusList property for this object.domainStatusList
(Consumer<DomainStatus.Builder>... domainStatusList) Sets the value of the DomainStatusList property for this object.domainStatusList
(DomainStatus... domainStatusList) Sets the value of the DomainStatusList property for this object.Methods inherited from interface software.amazon.awssdk.services.cloudsearch.model.CloudSearchResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
domainStatusList
Sets the value of the DomainStatusList property for this object.- Parameters:
domainStatusList
- The new value for the DomainStatusList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainStatusList
Sets the value of the DomainStatusList property for this object.- Parameters:
domainStatusList
- The new value for the DomainStatusList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainStatusList
DescribeDomainsResponse.Builder domainStatusList(Consumer<DomainStatus.Builder>... domainStatusList) Sets the value of the DomainStatusList property for this object. This is a convenience method that creates an instance of theDomainStatus.Builder
avoiding the need to create one manually viaDomainStatus.builder()
.When the
Consumer
completes,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:
-