docs: public FunctionConfigurationEnvironment withResourceAccessPolicies(ResourceAccessPolicy... resourceAccessPolicies) {
          if (this.resourceAccessPolicies == null) {
              setResourceAccessPolicies(new java.util.ArrayList<ResourceAccessPolicy>(resourceAccessPolicies.length));
          }
          for (ResourceAccessPolicy ele : resourceAccessPolicies) {
              this.resourceAccessPolicies.add(ele);
          }
          return this;
      }