docs: public void setResourceDetails(java.util.Collection<ResourceDetail> resourceDetails) {
          if (resourceDetails == null) {
              this.resourceDetails = null;
              return;
          }
  
          this.resourceDetails = new java.util.ArrayList<ResourceDetail>(resourceDetails);
      }