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

        this.longestPrefixMatches = new java.util.ArrayList<String>(longestPrefixMatches);
    }
<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).
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/GetNetworkRoutesRequest.java