code: public BatchGetNamedQueryResult withNamedQueries(NamedQuery... namedQueries) {
          if (this.namedQueries == null) {
              setNamedQueries(new java.util.ArrayList<NamedQuery>(namedQueries.length));
          }
          for (NamedQuery ele : namedQueries) {
              this.namedQueries.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the named query IDs submitted.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setNamedQueries(java.util.Collection)} or {@link #withNamedQueries(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param namedQueries
  Information about the named query IDs submitted.
  @return Returns a reference to this object so that method calls can be chained together.