public void setSubjectAlternativeNames(java.util.Collection<String> subjectAlternativeNames) {
        if (subjectAlternativeNames == null) {
            this.subjectAlternativeNames = null;
            return;
        }

        this.subjectAlternativeNames = new java.util.ArrayList<String>(subjectAlternativeNames);
    }
<p>
An array of strings that specify the alternate domains (<code>example2.com</code>) and subdomains (
<code>blog.example.com</code>) for the certificate.
</p>
<p>
You can specify a maximum of nine alternate domains (in addition to the primary domain name).
</p>
<p>
Wildcard domain entries (<code>*.example.com</code>) are not supported.
</p>

@param subjectAlternativeNames
       An array of strings that specify the alternate domains (<code>example2.com</code>) and subdomains (
       <code>blog.example.com</code>) for the certificate.</p>
       <p>
       You can specify a maximum of nine alternate domains (in addition to the primary domain name).
       </p>
       <p>
       Wildcard domain entries (<code>*.example.com</code>) are not supported.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/CreateCertificateRequest.java