code: public GetDomainsResult withDomains(Domain... domains) {
          if (this.domains == null) {
              setDomains(new java.util.ArrayList<Domain>(domains.length));
          }
          for (Domain ele : domains) {
              this.domains.add(ele);
          }
          return this;
      }
docs: <p>
  An array of key-value pairs containing information about each of the domain entries in the user's account.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDomains(java.util.Collection)} or {@link #withDomains(java.util.Collection)} if you want to override
  the existing values.
  </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.