public CreateAppRequest withDomains(java.util.Collection<String> domains) {
        setDomains(domains);
        return this;
    }
<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>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CreateAppRequest.java