docs: public java.util.List<ResourcePolicy> getResourcePolicies() {
          if (resourcePolicies == null) {
              resourcePolicies = new com.amazonaws.internal.SdkInternalList<ResourcePolicy>();
          }
          return resourcePolicies;
      }