Route.UpdateDefinitionStages.WithNextHopType<ParentT> Interface

Type Parameters

ParentT

the return type of attach()

public interface WithNextHopType

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

Method Summary

Modifier and Type Method and Description
Route.UpdateDefinitionStages.WithAttach<ParentT> withNextHop(RouteNextHopType nextHopType)

Specifies the next hop type.

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

Route.UpdateDefinitionStages.WithAttach<ParentT> withNextHopToVirtualAppliance(String ipAddress)

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

Method Details

withNextHop

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