Interface CreateLoadBalancerTlsCertificateRequest.Builder

    • Method Detail

      • loadBalancerName

        CreateLoadBalancerTlsCertificateRequest.Builder loadBalancerName​(String loadBalancerName)

        The load balancer name where you want to create the SSL/TLS certificate.

        Parameters:
        loadBalancerName - The load balancer name where you want to create the SSL/TLS certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateName

        CreateLoadBalancerTlsCertificateRequest.Builder certificateName​(String certificateName)

        The SSL/TLS certificate name.

        You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see Limits.

        Parameters:
        certificateName - The SSL/TLS certificate name.

        You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see Limits.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateDomainName

        CreateLoadBalancerTlsCertificateRequest.Builder certificateDomainName​(String certificateDomainName)

        The domain name (example.com) for your SSL/TLS certificate.

        Parameters:
        certificateDomainName - The domain name (example.com) for your SSL/TLS certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateAlternativeNames

        CreateLoadBalancerTlsCertificateRequest.Builder certificateAlternativeNames​(Collection<String> certificateAlternativeNames)

        An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (*.example.com).

        Parameters:
        certificateAlternativeNames - An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (*.example.com).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateAlternativeNames

        CreateLoadBalancerTlsCertificateRequest.Builder certificateAlternativeNames​(String... certificateAlternativeNames)

        An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (*.example.com).

        Parameters:
        certificateAlternativeNames - An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (*.example.com).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateLoadBalancerTlsCertificateRequest.Builder tags​(Collection<Tag> tags)

        The tag keys and optional values to add to the resource during create.

        Use the TagResource action to tag a resource after it's created.

        Parameters:
        tags - The tag keys and optional values to add to the resource during create.

        Use the TagResource action to tag a resource after it's created.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateLoadBalancerTlsCertificateRequest.Builder tags​(Tag... tags)

        The tag keys and optional values to add to the resource during create.

        Use the TagResource action to tag a resource after it's created.

        Parameters:
        tags - The tag keys and optional values to add to the resource during create.

        Use the TagResource action to tag a resource after it's created.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateLoadBalancerTlsCertificateRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        The tag keys and optional values to add to the resource during create.

        Use the TagResource action to tag a resource after it's created.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)