Interface RouteTable.DefinitionStages.WithRoute
-
- All Known Subinterfaces:
RouteTable.Definition,RouteTable.DefinitionStages.WithCreate
- Enclosing interface:
- RouteTable.DefinitionStages
public static interface RouteTable.DefinitionStages.WithRouteThe stage of the route table definition allowing to add routes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.WithCreatewithRoute(String destinationAddressPrefix, RouteNextHopType nextHop)Creates a non-virtual appliance route.RouteTable.DefinitionStages.WithCreatewithRouteViaVirtualAppliance(String destinationAddressPrefix, String ipAddress)Creates a route via a virtual appliance.
-
-
-
Method Detail
-
defineRoute
Route.DefinitionStages.Blank<RouteTable.DefinitionStages.WithCreate> defineRoute(String name)
Begins the definition of a new route to add to the route table.The definition must be completed with a call to
Attachable.InDefinition.attach()- Parameters:
name- the name of the route- Returns:
- the first stage of the definition
-
withRoute
RouteTable.DefinitionStages.WithCreate withRoute(String destinationAddressPrefix, RouteNextHopType nextHop)
Creates a non-virtual appliance route.The name is generated automatically.
- Parameters:
destinationAddressPrefix- the destination address prefix, expressed in the CIDR notation, for the route to apply tonextHop- the next hop type- Returns:
- the next stage of the definition
-
withRouteViaVirtualAppliance
RouteTable.DefinitionStages.WithCreate withRouteViaVirtualAppliance(String destinationAddressPrefix, String ipAddress)
Creates a route via a virtual appliance.- Parameters:
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 through- Returns:
- the next stage of the definition
-
-