public GetDomainsResult withDomains(java.util.Collection<Domain> domains) {
        setDomains(domains);
        return this;
    }
<p>
An array of key-value pairs containing information about each of the domain entries in the user's account.
</p>

@param domains
       An array of key-value pairs containing information about each of the domain entries in the user's account.
@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/GetDomainsResult.java