public static interface RouteTable.DefinitionStages.WithRoute
Modifier and Type | Method and Description |
---|---|
Route.DefinitionStages.Blank<RouteTable.DefinitionStages.WithCreate> |
defineRoute(String name)
Begins the definition of a new route to add to the route table.
|
RouteTable.DefinitionStages.WithCreate |
withRoute(String destinationAddressPrefix,
RouteNextHopType nextHop)
Creates a non-virtual appliance route.
|
RouteTable.DefinitionStages.WithCreate |
withRouteViaVirtualAppliance(String destinationAddressPrefix,
String ipAddress)
Creates a route via a virtual appliance.
|
Route.DefinitionStages.Blank<RouteTable.DefinitionStages.WithCreate> defineRoute(String name)
The definition must be completed with a call to Attachable.InDefinition.attach()
name
- the name of the routeRouteTable.DefinitionStages.WithCreate withRoute(String destinationAddressPrefix, RouteNextHopType nextHop)
The name is generated automatically.
destinationAddressPrefix
- the destination address prefix, expressed in the CIDR notation, for the route to apply tonextHop
- the next hop typeRouteTable.DefinitionStages.WithCreate withRouteViaVirtualAppliance(String destinationAddressPrefix, String ipAddress)
destinationAddressPrefix
- the destination address prefix, expressed in the CIDR notation, for the route to apply toipAddress
- the IP address of the virtual appliance to route the traffic throughCopyright © 2019. All rights reserved.