public CreateLoadBalancerRequest withCertificateAlternativeNames(String... certificateAlternativeNames) {
        if (this.certificateAlternativeNames == null) {
            setCertificateAlternativeNames(new java.util.ArrayList<String>(certificateAlternativeNames.length));
        }
        for (String ele : certificateAlternativeNames) {
            this.certificateAlternativeNames.add(ele);
        }
        return this;
    }
<p>
The optional alternative domains and subdomains to use with your SSL/TLS certificate (
<code>www.example.com</code>, <code>example.com</code>, <code>m.example.com</code>, <code>blog.example.com</code>
).
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCertificateAlternativeNames(java.util.Collection)} or
{@link #withCertificateAlternativeNames(java.util.Collection)} if you want to override the existing values.
</p>

@param certificateAlternativeNames
       The optional alternative domains and subdomains to use with your SSL/TLS certificate (
       <code>www.example.com</code>, <code>example.com</code>, <code>m.example.com</code>,
       <code>blog.example.com</code>).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/CreateLoadBalancerRequest.java