Interface ListDomainNamesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDomainNamesResponse.Builder,,ListDomainNamesResponse> ElasticsearchResponse.Builder,SdkBuilder<ListDomainNamesResponse.Builder,,ListDomainNamesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDomainNamesResponse
public static interface ListDomainNamesResponse.Builder
extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<ListDomainNamesResponse.Builder,ListDomainNamesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomainNames(Collection<DomainInfo> domainNames) List of domain names and respective engine types.domainNames(Consumer<DomainInfo.Builder>... domainNames) List of domain names and respective engine types.domainNames(DomainInfo... domainNames) List of domain names and respective engine types.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticsearch.model.ElasticsearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
domainNames
List of domain names and respective engine types.
- Parameters:
domainNames- List of domain names and respective engine types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainNames
List of domain names and respective engine types.
- Parameters:
domainNames- List of domain names and respective engine types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainNames
List of domain names and respective engine types.
This is a convenience method that creates an instance of theDomainInfo.Builderavoiding the need to create one manually viaDomainInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomainNames(List<DomainInfo>).- Parameters:
domainNames- a consumer that will call methods onDomainInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-