code: public Domain withDomainEntries(DomainEntry... domainEntries) {
          if (this.domainEntries == null) {
              setDomainEntries(new java.util.ArrayList<DomainEntry>(domainEntries.length));
          }
          for (DomainEntry ele : domainEntries) {
              this.domainEntries.add(ele);
          }
          return this;
      }
docs: <p>
  An array of key-value pairs containing information about the domain entries.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDomainEntries(java.util.Collection)} or {@link #withDomainEntries(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param domainEntries
  An array of key-value pairs containing information about the domain entries.
  @return Returns a reference to this object so that method calls can be chained together.