@Stability(value=Experimental) public static final class DomainNameProps.Builder extends Object implements software.amazon.jsii.Builder<DomainNameProps>
DomainNameProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DomainNameProps |
build()
Builds the configured instance.
|
DomainNameProps.Builder |
certificate(ICertificate certificate)
Sets the value of
EndpointOptions.getCertificate() |
DomainNameProps.Builder |
certificateName(String certificateName)
Sets the value of
EndpointOptions.getCertificateName() |
DomainNameProps.Builder |
domainName(String domainName)
Sets the value of
DomainNameProps.getDomainName() |
DomainNameProps.Builder |
endpointType(EndpointType endpointType)
Sets the value of
EndpointOptions.getEndpointType() |
DomainNameProps.Builder |
mtls(MTLSConfig mtls)
Sets the value of
DomainNameProps.getMtls() |
DomainNameProps.Builder |
ownershipCertificate(ICertificate ownershipCertificate)
Sets the value of
EndpointOptions.getOwnershipCertificate() |
DomainNameProps.Builder |
securityPolicy(SecurityPolicy securityPolicy)
Sets the value of
EndpointOptions.getSecurityPolicy() |
@Stability(value=Experimental) public DomainNameProps.Builder domainName(String domainName)
DomainNameProps.getDomainName()domainName - The custom domain name. This parameter is required.this@Stability(value=Experimental) public DomainNameProps.Builder mtls(MTLSConfig mtls)
DomainNameProps.getMtls()mtls - The mutual TLS authentication configuration for a custom domain name.this@Stability(value=Experimental) public DomainNameProps.Builder certificate(ICertificate certificate)
EndpointOptions.getCertificate()certificate - The ACM certificate for this domain name. This parameter is required.
Certificate can be both ACM issued or imported.this@Stability(value=Experimental) public DomainNameProps.Builder certificateName(String certificateName)
EndpointOptions.getCertificateName()certificateName - The user-friendly name of the certificate that will be used by the endpoint for this domain name.this@Stability(value=Experimental) public DomainNameProps.Builder endpointType(EndpointType endpointType)
EndpointOptions.getEndpointType()endpointType - The type of endpoint for this DomainName.this@Stability(value=Experimental) public DomainNameProps.Builder ownershipCertificate(ICertificate ownershipCertificate)
EndpointOptions.getOwnershipCertificate()ownershipCertificate - A public certificate issued by ACM to validate that you own a custom domain.
This parameter is required
only when you configure mutual TLS authentication and you specify an ACM imported or private CA certificate
for certificate. The ownership certificate validates that you have permissions to use the domain name.this@Stability(value=Experimental) public DomainNameProps.Builder securityPolicy(SecurityPolicy securityPolicy)
EndpointOptions.getSecurityPolicy()securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this domain name.this@Stability(value=Experimental) public DomainNameProps build()
build in interface software.amazon.jsii.Builder<DomainNameProps>DomainNamePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.