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