code: public void setDomainNames(java.util.Collection<String> domainNames) {
          if (domainNames == null) {
              this.domainNames = null;
              return;
          }
  
          this.domainNames = new java.util.ArrayList<String>(domainNames);
      }
docs: <p>
  The Elasticsearch domains for which you want information.
  </p>
  
  @param domainNames
  The Elasticsearch domains for which you want information.