public static final class CustomEndpointOptions.Builder
extends java.lang.Object
CustomEndpointOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CustomEndpointOptions |
build()
Builds the configured instance.
|
CustomEndpointOptions.Builder |
certificate(ICertificate certificate)
Sets the value of
CustomEndpointOptions.getCertificate() |
CustomEndpointOptions.Builder |
domainName(java.lang.String domainName)
Sets the value of
CustomEndpointOptions.getDomainName() |
CustomEndpointOptions.Builder |
hostedZone(IHostedZone hostedZone)
Sets the value of
CustomEndpointOptions.getHostedZone() |
public CustomEndpointOptions.Builder domainName(java.lang.String domainName)
CustomEndpointOptions.getDomainName()
domainName
- The custom domain name to assign. This parameter is required.this
public CustomEndpointOptions.Builder certificate(ICertificate certificate)
CustomEndpointOptions.getCertificate()
certificate
- The certificate to use.this
public CustomEndpointOptions.Builder hostedZone(IHostedZone hostedZone)
CustomEndpointOptions.getHostedZone()
hostedZone
- The hosted zone in Route53 to create the CNAME record in.this
public CustomEndpointOptions build()
CustomEndpointOptions
java.lang.NullPointerException
- if any required attribute was not provided