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