public void setSubnetOfMatches(java.util.Collection<String> subnetOfMatches) {
        if (subnetOfMatches == null) {
            this.subnetOfMatches = null;
            return;
        }

        this.subnetOfMatches = new java.util.ArrayList<String>(subnetOfMatches);
    }
<p>
The routes with a subnet that match the specified CIDR filter.
</p>

@param subnetOfMatches
       The routes with a subnet that match the specified CIDR filter.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/GetNetworkRoutesRequest.java