@Stability(value=Experimental) public static final class EndpointOptions.Builder extends Object implements software.amazon.jsii.Builder<EndpointOptions>
EndpointOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EndpointOptions |
build()
Builds the configured instance.
|
EndpointOptions.Builder |
certificate(ICertificate certificate)
Sets the value of
EndpointOptions.getCertificate() |
EndpointOptions.Builder |
certificateName(String certificateName)
Sets the value of
EndpointOptions.getCertificateName() |
EndpointOptions.Builder |
endpointType(EndpointType endpointType)
Sets the value of
EndpointOptions.getEndpointType() |
EndpointOptions.Builder |
ownershipCertificate(ICertificate ownershipCertificate)
Sets the value of
EndpointOptions.getOwnershipCertificate() |
EndpointOptions.Builder |
securityPolicy(SecurityPolicy securityPolicy)
Sets the value of
EndpointOptions.getSecurityPolicy() |
@Stability(value=Experimental) public EndpointOptions.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 EndpointOptions.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 EndpointOptions.Builder endpointType(EndpointType endpointType)
EndpointOptions.getEndpointType()endpointType - The type of endpoint for this DomainName.this@Stability(value=Experimental) public EndpointOptions.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 EndpointOptions.Builder securityPolicy(SecurityPolicy securityPolicy)
EndpointOptions.getSecurityPolicy()securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this domain name.this@Stability(value=Experimental) public EndpointOptions build()
build in interface software.amazon.jsii.Builder<EndpointOptions>EndpointOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.