public void setNetworkRoutes(java.util.Collection<NetworkRoute> networkRoutes) {
        if (networkRoutes == null) {
            this.networkRoutes = null;
            return;
        }

        this.networkRoutes = new java.util.ArrayList<NetworkRoute>(networkRoutes);
    }
<p>
The network routes.
</p>

@param networkRoutes
       The network routes.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/GetNetworkRoutesResult.java