Interface Route.DefinitionStages.WithNextHopType<ParentT>
-
- Type Parameters:
ParentT- the return type ofAttachable.InDefinition.attach()
- All Known Subinterfaces:
Route.Definition<ParentT>
- Enclosing interface:
- Route.DefinitionStages
public static interface Route.DefinitionStages.WithNextHopType<ParentT>The stage of a route definition allowing to specify the next hop type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Route.DefinitionStages.WithAttach<ParentT>withNextHop(RouteNextHopType nextHopType)Specifies the next hop type.Route.DefinitionStages.WithAttach<ParentT>withNextHopToVirtualAppliance(String ipAddress)Specifies the IP address of the virtual appliance for the next hop to go to.
-
-
-
Method Detail
-
withNextHop
Route.DefinitionStages.WithAttach<ParentT> 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 definition
-
withNextHopToVirtualAppliance
Route.DefinitionStages.WithAttach<ParentT> 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
-
-