Interface ListDomainNamesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDomainNamesResponse.Builder,ListDomainNamesResponse>,OpenSearchResponse.Builder,SdkBuilder<ListDomainNamesResponse.Builder,ListDomainNamesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDomainNamesResponse
public static interface ListDomainNamesResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<ListDomainNamesResponse.Builder,ListDomainNamesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDomainNamesResponse.BuilderdomainNames(Collection<DomainInfo> domainNames)The names of all OpenSearch Service domains owned by the current user and their respective engine types.ListDomainNamesResponse.BuilderdomainNames(Consumer<DomainInfo.Builder>... domainNames)The names of all OpenSearch Service domains owned by the current user and their respective engine types.ListDomainNamesResponse.BuilderdomainNames(DomainInfo... domainNames)The names of all OpenSearch Service domains owned by the current user and their respective engine types.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
domainNames
ListDomainNamesResponse.Builder domainNames(Collection<DomainInfo> domainNames)
The names of all OpenSearch Service domains owned by the current user and their respective engine types.
- Parameters:
domainNames- The names of all OpenSearch Service domains owned by the current user and their respective engine types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainNames
ListDomainNamesResponse.Builder domainNames(DomainInfo... domainNames)
The names of all OpenSearch Service domains owned by the current user and their respective engine types.
- Parameters:
domainNames- The names of all OpenSearch Service domains owned by the current user and their respective engine types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainNames
ListDomainNamesResponse.Builder domainNames(Consumer<DomainInfo.Builder>... domainNames)
The names of all OpenSearch Service domains owned by the current user and their 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 to#domainNames(List.) - 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:
#domainNames(java.util.Collection)
-
-