public GetNetworkResourceCountsResult withNetworkResourceCounts(java.util.Collection<NetworkResourceCount> networkResourceCounts) {
        setNetworkResourceCounts(networkResourceCounts);
        return this;
    }
<p>
The count of resources.
</p>

@param networkResourceCounts
       The count of resources.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/GetNetworkResourceCountsResult.java