public ListPackagesForDomainRequest withDomainName(String domainName) {
        setDomainName(domainName);
        return this;
    }
<p>
The name of the domain for which you want to list associated packages.
</p>

@param domainName
       The name of the domain for which you want to list associated packages.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/ListPackagesForDomainRequest.java