@Stability(value=Stable) public static final class DomainNameOptions.Builder extends Object implements software.amazon.jsii.Builder<DomainNameOptions>
DomainNameOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DomainNameOptions.Builder |
basePath(String basePath)
Sets the value of
DomainNameOptions.getBasePath() |
DomainNameOptions |
build()
Builds the configured instance.
|
DomainNameOptions.Builder |
certificate(ICertificate certificate)
Sets the value of
DomainNameOptions.getCertificate() |
DomainNameOptions.Builder |
domainName(String domainName)
Sets the value of
DomainNameOptions.getDomainName() |
DomainNameOptions.Builder |
endpointType(EndpointType endpointType)
Sets the value of
DomainNameOptions.getEndpointType() |
DomainNameOptions.Builder |
mtls(MTLSConfig mtls)
Sets the value of
DomainNameOptions.getMtls() |
DomainNameOptions.Builder |
securityPolicy(SecurityPolicy securityPolicy)
Sets the value of
DomainNameOptions.getSecurityPolicy() |
@Stability(value=Stable) public DomainNameOptions.Builder certificate(ICertificate certificate)
DomainNameOptions.getCertificate()certificate - The reference to an AWS-managed certificate for use by the edge-optimized endpoint for the domain name. This parameter is required.
For "EDGE" domain names, the certificate
needs to be in the US East (N. Virginia) region.this@Stability(value=Stable) public DomainNameOptions.Builder domainName(String domainName)
DomainNameOptions.getDomainName()domainName - The custom domain name for your API. This parameter is required.
Uppercase letters are not supported.this@Stability(value=Stable) public DomainNameOptions.Builder basePath(String basePath)
DomainNameOptions.getBasePath()basePath - The base path name that callers of the API must provide in the URL after the domain name (e.g. `example.com/base-path`). If you specify this property, it can't be an empty string.this@Stability(value=Stable) public DomainNameOptions.Builder endpointType(EndpointType endpointType)
DomainNameOptions.getEndpointType()endpointType - The type of endpoint for this DomainName.this@Stability(value=Stable) public DomainNameOptions.Builder mtls(MTLSConfig mtls)
DomainNameOptions.getMtls()mtls - The mutual TLS authentication configuration for a custom domain name.this@Stability(value=Stable) public DomainNameOptions.Builder securityPolicy(SecurityPolicy securityPolicy)
DomainNameOptions.getSecurityPolicy()securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this domain name.this@Stability(value=Stable) public DomainNameOptions build()
build in interface software.amazon.jsii.Builder<DomainNameOptions>DomainNameOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.