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 Details

    • create

      @Stability(Stable) public static CfnLoadBalancerTlsCertificate.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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 or www.example.com .

      Parameters:
      certificateDomainName - The domain name for the SSL/TLS certificate. This parameter is required.
      Returns:
      this
    • 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
    • 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
    • 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
    • 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
    • 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
    • isAttached

      @Stability(Stable) public CfnLoadBalancerTlsCertificate.Builder isAttached(Boolean 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
    • isAttached

      @Stability(Stable) public CfnLoadBalancerTlsCertificate.Builder isAttached(IResolvable 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
    • build

      @Stability(Stable) public CfnLoadBalancerTlsCertificate build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnLoadBalancerTlsCertificate>
      Returns:
      a newly built instance of CfnLoadBalancerTlsCertificate.