public GetNetworkRoutesRequest withSubnetOfMatches(java.util.Collection<String> subnetOfMatches) {
        setSubnetOfMatches(subnetOfMatches);
        return this;
    }
<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.
@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/GetNetworkRoutesRequest.java