public GetNetworkRoutesRequest withLongestPrefixMatches(java.util.Collection<String> longestPrefixMatches) {
        setLongestPrefixMatches(longestPrefixMatches);
        return this;
    }
<p>
The most specific route that matches the traffic (longest prefix match).
</p>

@param longestPrefixMatches
       The most specific route that matches the traffic (longest prefix match).
@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