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

        this.domains = new com.amazonaws.internal.SdkInternalList<String>(domains);
    }
<p>
The app virtual host settings, with multiple domains separated by commas. For example:
<code>'www.example.com, example.com'</code>
</p>

@param domains
       The app virtual host settings, with multiple domains separated by commas. For example:
       <code>'www.example.com, example.com'</code>
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CreateAppRequest.java