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