Class CfnLoadBalancerTlsCertificate.Builder
java.lang.Object
software.amazon.awscdk.services.lightsail.CfnLoadBalancerTlsCertificate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoadBalancerTlsCertificate>
- Enclosing class:
CfnLoadBalancerTlsCertificate
@Stability(Stable)
public static final class CfnLoadBalancerTlsCertificate.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLoadBalancerTlsCertificate>
A fluent builder for
CfnLoadBalancerTlsCertificate
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
certificateAlternativeNames
(List<String> certificateAlternativeNames) An array of alternative domain names and subdomain names for your SSL/TLS certificate.certificateDomainName
(String certificateDomainName) The domain name for the SSL/TLS certificate.certificateName
(String certificateName) The name of the SSL/TLS certificate.httpsRedirectionEnabled
(Boolean httpsRedirectionEnabled) A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.httpsRedirectionEnabled
(IResolvable httpsRedirectionEnabled) A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.isAttached
(Boolean isAttached) A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.isAttached
(IResolvable isAttached) A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.loadBalancerName
(String loadBalancerName) The name of the load balancer that the SSL/TLS certificate is attached to.
-
Method Details
-
create
@Stability(Stable) public static CfnLoadBalancerTlsCertificate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnLoadBalancerTlsCertificate.Builder
.
-
certificateDomainName
@Stability(Stable) public CfnLoadBalancerTlsCertificate.Builder certificateDomainName(String certificateDomainName) The domain name for the SSL/TLS certificate.For example,
example.com
orwww.example.com
.- Parameters:
certificateDomainName
- The domain name for the SSL/TLS certificate. This parameter is required.- Returns:
this
- See Also:
-
certificateName
@Stability(Stable) public CfnLoadBalancerTlsCertificate.Builder certificateName(String certificateName) The name of the SSL/TLS certificate.- Parameters:
certificateName
- The name of the SSL/TLS certificate. This parameter is required.- Returns:
this
- See Also:
-
loadBalancerName
@Stability(Stable) public CfnLoadBalancerTlsCertificate.Builder loadBalancerName(String loadBalancerName) The name of the load balancer that the SSL/TLS certificate is attached to.- Parameters:
loadBalancerName
- The name of the load balancer that the SSL/TLS certificate is attached to. This parameter is required.- Returns:
this
- See Also:
-
certificateAlternativeNames
@Stability(Stable) public CfnLoadBalancerTlsCertificate.Builder certificateAlternativeNames(List<String> certificateAlternativeNames) An array of alternative domain names and subdomain names for your SSL/TLS certificate.In addition to the primary domain name, you can have up to nine alternative domain names. Wildcards (such as
*.example.com
) are not supported.- Parameters:
certificateAlternativeNames
- An array of alternative domain names and subdomain names for your SSL/TLS certificate. This parameter is required.- Returns:
this
- See Also:
-
httpsRedirectionEnabled
@Stability(Stable) public CfnLoadBalancerTlsCertificate.Builder httpsRedirectionEnabled(Boolean httpsRedirectionEnabled) A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.- Parameters:
httpsRedirectionEnabled
- A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to. This parameter is required.- Returns:
this
- See Also:
-
httpsRedirectionEnabled
@Stability(Stable) public CfnLoadBalancerTlsCertificate.Builder httpsRedirectionEnabled(IResolvable httpsRedirectionEnabled) A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.- Parameters:
httpsRedirectionEnabled
- A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to. This parameter is required.- Returns:
this
- See Also:
-
isAttached
A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.- Parameters:
isAttached
- A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer. This parameter is required.- Returns:
this
- See Also:
-
isAttached
A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.- Parameters:
isAttached
- A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLoadBalancerTlsCertificate>
- Returns:
- a newly built instance of
CfnLoadBalancerTlsCertificate
.
-