public GetNetworkRoutesResult withNetworkRoutes(java.util.Collection<NetworkRoute> networkRoutes) {
        setNetworkRoutes(networkRoutes);
        return this;
    }
<p>
The network routes.
</p>

@param networkRoutes
       The network routes.
@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/GetNetworkRoutesResult.java