docs: public CreateDevicePoolRequest withRules(Rule... rules) {
          if (this.rules == null) {
              setRules(new java.util.ArrayList<Rule>(rules.length));
          }
          for (Rule ele : rules) {
              this.rules.add(ele);
          }
          return this;
      }