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