code: public ConnectionInput withMatchCriteria(String... matchCriteria) {
          if (this.matchCriteria == null) {
              setMatchCriteria(new java.util.ArrayList<String>(matchCriteria.length));
          }
          for (String ele : matchCriteria) {
              this.matchCriteria.add(ele);
          }
          return this;
      }
docs: <p>
  A list of criteria that can be used in selecting this connection.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setMatchCriteria(java.util.Collection)} or {@link #withMatchCriteria(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param matchCriteria
  A list of criteria that can be used in selecting this connection.
  @return Returns a reference to this object so that method calls can be chained together.