public void setResourceCounts(java.util.Collection<ResourceCount> resourceCounts) {
        if (resourceCounts == null) {
            this.resourceCounts = null;
            return;
        }

        this.resourceCounts = new com.amazonaws.internal.SdkInternalList<ResourceCount>(resourceCounts);
    }
public void setResourceCounts ( java . util . Collection < ResourceCount > resourceCounts ) { if ( resourceCounts == null ) { this . resourceCounts = null ; return ; } this . resourceCounts = new com . amazonaws . internal . SdkInternalList < ResourceCount > ( resourceCounts ) ; }
<p>
The list of <code>ResourceCount</code> objects. Each object is listed in descending order by the number of
resources.
</p>

@param resourceCounts
The list of <code>ResourceCount</code> objects. Each object is listed in descending order by the number of
resources.