docs: public DescribeResourcePoliciesResult withResourcePolicies(ResourcePolicy... resourcePolicies) {
          if (this.resourcePolicies == null) {
              setResourcePolicies(new com.amazonaws.internal.SdkInternalList<ResourcePolicy>(resourcePolicies.length));
          }
          for (ResourcePolicy ele : resourcePolicies) {
              this.resourcePolicies.add(ele);
          }
          return this;
      }