public void setNetworkResourceCounts(java.util.Collection<NetworkResourceCount> networkResourceCounts) {
        if (networkResourceCounts == null) {
            this.networkResourceCounts = null;
            return;
        }

        this.networkResourceCounts = new java.util.ArrayList<NetworkResourceCount>(networkResourceCounts);
    }
<p>
The count of resources.
</p>

@param networkResourceCounts
       The count of resources.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/GetNetworkResourceCountsResult.java