Interface Route.UpdateStages.WithNextHopType

All Known Subinterfaces:
Route.Update
Enclosing interface:
Route.UpdateStages

public static interface Route.UpdateStages.WithNextHopType
The stage of a route update allowing to specify the next hop type.
  • Method Details

    • withNextHop

      Route.Update withNextHop(RouteNextHopType nextHopType)
      Specifies the next hop type.

      To use a virtual appliance, use withNextHopToVirtualAppliance(String) instead and specify its IP address.

      Parameters:
      nextHopType - a hop type
      Returns:
      the next stage of the update
    • withNextHopToVirtualAppliance

      Route.Update withNextHopToVirtualAppliance(String ipAddress)
      Specifies the IP address of the virtual appliance for the next hop to go to.
      Parameters:
      ipAddress - an IP address of an existing virtual appliance (virtual machine)
      Returns:
      the next stage of the update