code: public BatchGetNamedQueryRequest withNamedQueryIds(String... namedQueryIds) {
          if (this.namedQueryIds == null) {
              setNamedQueryIds(new java.util.ArrayList<String>(namedQueryIds.length));
          }
          for (String ele : namedQueryIds) {
              this.namedQueryIds.add(ele);
          }
          return this;
      }
docs: <p>
  An array of query IDs.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setNamedQueryIds(java.util.Collection)} or {@link #withNamedQueryIds(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param namedQueryIds
  An array of query IDs.
  @return Returns a reference to this object so that method calls can be chained together.