Route.DefinitionStages.WithNextHopType<ParentT> Interface

Type Parameters

ParentT

the return type of WithAttach#attach()

public static interface Route.DefinitionStages.WithNextHopType

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

Method Summary

Modifier and Type Method and Description
abstract WithAttach<ParentT> withNextHop(RouteNextHopType nextHopType)

Specifies the next hop type.

abstract WithAttach<ParentT> withNextHopToVirtualAppliance(String ipAddress)

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

Method Details

withNextHop

public abstract Route.DefinitionStages.WithAttach 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 definition

withNextHopToVirtualAppliance

public abstract Route.DefinitionStages.WithAttach 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 definition

Applies to