code: public SetRulePrioritiesRequest withRulePriorities(RulePriorityPair... rulePriorities) {
          if (this.rulePriorities == null) {
              setRulePriorities(new java.util.ArrayList<RulePriorityPair>(rulePriorities.length));
          }
          for (RulePriorityPair ele : rulePriorities) {
              this.rulePriorities.add(ele);
          }
          return this;
      }
docs: <p>
  The rule priorities.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRulePriorities(java.util.Collection)} or {@link #withRulePriorities(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param rulePriorities
  The rule priorities.
  @return Returns a reference to this object so that method calls can be chained together.