Route.UpdateStages.WithNextHopType Interface

public static interface Route.UpdateStages.WithNextHopType

The stage of a route update allowing to specify the next hop type.

Method Summary

Modifier and Type Method and Description
abstract Update withNextHop(RouteNextHopType nextHopType)

Specifies the next hop type.

abstract Update withNextHopToVirtualAppliance(String ipAddress)

Specifies the IP address of the virtual appliance for the next hop to go to.

Method Details

withNextHop

public abstract Route.Update withNextHop(RouteNextHopType nextHopType)

Specifies the next hop type.

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

Parameters:

nextHopType - a hop type

Returns:

the next stage of the update

withNextHopToVirtualAppliance

public abstract 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

Applies to