docs: public CorsRule withAllowedMethods(MethodName... allowedMethods) {
          java.util.ArrayList<String> allowedMethodsCopy = new java.util.ArrayList<String>(allowedMethods.length);
          for (MethodName value : allowedMethods) {
              allowedMethodsCopy.add(value.toString());
          }
          if (getAllowedMethods() == null) {
              setAllowedMethods(allowedMethodsCopy);
          } else {
              getAllowedMethods().addAll(allowedMethodsCopy);
          }
          return this;
      }