docs: public CorsRule withAllowedMethods(String... allowedMethods) {
          if (this.allowedMethods == null) {
              setAllowedMethods(new java.util.ArrayList<String>(allowedMethods.length));
          }
          for (String ele : allowedMethods) {
              this.allowedMethods.add(ele);
          }
          return this;
      }