Class CustomEndpointOptions.Builder
java.lang.Object
software.amazon.awscdk.services.elasticsearch.CustomEndpointOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CustomEndpointOptions>
- Enclosing interface:
CustomEndpointOptions
@Stability(Deprecated)
@Deprecated
public static final class CustomEndpointOptions.Builder
extends Object
implements software.amazon.jsii.Builder<CustomEndpointOptions>
Deprecated.
A builder for
CustomEndpointOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.certificate
(ICertificate certificate) Deprecated.use opensearchservice module insteaddomainName
(String domainName) Deprecated.use opensearchservice module insteadhostedZone
(IHostedZone hostedZone) Deprecated.use opensearchservice module instead
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
domainName
@Stability(Deprecated) @Deprecated public CustomEndpointOptions.Builder domainName(String domainName) Deprecated.use opensearchservice module insteadSets the value ofCustomEndpointOptions.getDomainName()
- Parameters:
domainName
- The custom domain name to assign. This parameter is required.- Returns:
this
-
certificate
@Stability(Deprecated) @Deprecated public CustomEndpointOptions.Builder certificate(ICertificate certificate) Deprecated.use opensearchservice module insteadSets the value ofCustomEndpointOptions.getCertificate()
- Parameters:
certificate
- The certificate to use.- Returns:
this
-
hostedZone
@Stability(Deprecated) @Deprecated public CustomEndpointOptions.Builder hostedZone(IHostedZone hostedZone) Deprecated.use opensearchservice module insteadSets the value ofCustomEndpointOptions.getHostedZone()
- Parameters:
hostedZone
- The hosted zone in Route53 to create the CNAME record in.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CustomEndpointOptions>
- Returns:
- a new instance of
CustomEndpointOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-