Class DomainAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.elasticsearch.DomainAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DomainAttributes>
- Enclosing interface:
DomainAttributes
@Stability(Deprecated)
@Deprecated
public static final class DomainAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<DomainAttributes>
Deprecated.
A builder for
DomainAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.Deprecated.use opensearchservice module insteaddomainEndpoint
(String domainEndpoint) Deprecated.use opensearchservice module instead
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
domainArn
Deprecated.use opensearchservice module insteadSets the value ofDomainAttributes.getDomainArn()
- Parameters:
domainArn
- The ARN of the Elasticsearch domain. This parameter is required.- Returns:
this
-
domainEndpoint
@Stability(Deprecated) @Deprecated public DomainAttributes.Builder domainEndpoint(String domainEndpoint) Deprecated.use opensearchservice module insteadSets the value ofDomainAttributes.getDomainEndpoint()
- Parameters:
domainEndpoint
- The domain endpoint of the Elasticsearch domain. This parameter is required.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DomainAttributes>
- Returns:
- a new instance of
DomainAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-