public GetNetworkRoutesResult withNetworkRoutes(NetworkRoute... networkRoutes) {
        if (this.networkRoutes == null) {
            setNetworkRoutes(new java.util.ArrayList<NetworkRoute>(networkRoutes.length));
        }
        for (NetworkRoute ele : networkRoutes) {
            this.networkRoutes.add(ele);
        }
        return this;
    }
<p>
The network routes.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNetworkRoutes(java.util.Collection)} or {@link #withNetworkRoutes(java.util.Collection)} if you want
to override the existing values.
</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