docs: public void setAllowedMethods(java.util.Collection<String> allowedMethods) {
          if (allowedMethods == null) {
              this.allowedMethods = null;
              return;
          }
  
          this.allowedMethods = new java.util.ArrayList<String>(allowedMethods);
      }