code: public DescribeElasticsearchDomainsRequest withDomainNames(String... domainNames) {
          if (this.domainNames == null) {
              setDomainNames(new java.util.ArrayList<String>(domainNames.length));
          }
          for (String ele : domainNames) {
              this.domainNames.add(ele);
          }
          return this;
      }
docs: <p>
  The Elasticsearch domains for which you want information.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDomainNames(java.util.Collection)} or {@link #withDomainNames(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param domainNames
  The Elasticsearch domains for which you want information.
  @return Returns a reference to this object so that method calls can be chained together.