public StorageConnector withDomains(java.util.Collection<String> domains) {
        setDomains(domains);
        return this;
    }
<p>
The names of the domains for the account.
</p>

@param domains
       The names of the domains for the account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/StorageConnector.java