public static final class CfnDomain.DomainEndpointOptionsProperty.Builder
extends java.lang.Object
CfnDomain.DomainEndpointOptionsProperty
Constructor and Description |
---|
Builder() |
public CfnDomain.DomainEndpointOptionsProperty.Builder customEndpoint(java.lang.String customEndpoint)
CfnDomain.DomainEndpointOptionsProperty.getCustomEndpoint()
customEndpoint
- The fully qualified URL for your custom endpoint.
Required if you enabled a custom endpoint for the domain.this
public CfnDomain.DomainEndpointOptionsProperty.Builder customEndpointCertificateArn(java.lang.String customEndpointCertificateArn)
customEndpointCertificateArn
- The AWS Certificate Manager ARN for your domain's SSL/TLS certificate.
Required if you enabled a custom endpoint for the domain.this
public CfnDomain.DomainEndpointOptionsProperty.Builder customEndpointEnabled(java.lang.Boolean customEndpointEnabled)
CfnDomain.DomainEndpointOptionsProperty.getCustomEndpointEnabled()
customEndpointEnabled
- True to enable a custom endpoint for the domain.
If enabled, you must also provide values for CustomEndpoint
and CustomEndpointCertificateArn
.this
public CfnDomain.DomainEndpointOptionsProperty.Builder customEndpointEnabled(IResolvable customEndpointEnabled)
CfnDomain.DomainEndpointOptionsProperty.getCustomEndpointEnabled()
customEndpointEnabled
- True to enable a custom endpoint for the domain.
If enabled, you must also provide values for CustomEndpoint
and CustomEndpointCertificateArn
.this
public CfnDomain.DomainEndpointOptionsProperty.Builder enforceHttps(java.lang.Boolean enforceHttps)
CfnDomain.DomainEndpointOptionsProperty.getEnforceHttps()
enforceHttps
- True to require that all traffic to the domain arrive over HTTPS.
Required if you enable fine-grained access control in AdvancedSecurityOptions .this
public CfnDomain.DomainEndpointOptionsProperty.Builder enforceHttps(IResolvable enforceHttps)
CfnDomain.DomainEndpointOptionsProperty.getEnforceHttps()
enforceHttps
- True to require that all traffic to the domain arrive over HTTPS.
Required if you enable fine-grained access control in AdvancedSecurityOptions .this
public CfnDomain.DomainEndpointOptionsProperty.Builder tlsSecurityPolicy(java.lang.String tlsSecurityPolicy)
CfnDomain.DomainEndpointOptionsProperty.getTlsSecurityPolicy()
tlsSecurityPolicy
- The minimum TLS version required for traffic to the domain. Valid values are TLS 1.0 (default) or 1.2:.
Policy-Min-TLS-1-0-2019-07
Policy-Min-TLS-1-2-2019-07
this
public CfnDomain.DomainEndpointOptionsProperty build()
CfnDomain.DomainEndpointOptionsProperty
java.lang.NullPointerException
- if any required attribute was not provided