Interface RouteTable.UpdateStages.WithRoute
-
- All Known Subinterfaces:
RouteTable.Update
- Enclosing interface:
- RouteTable.UpdateStages
public static interface RouteTable.UpdateStages.WithRouteThe stage of the route table definition allowing to add, remove or modify routes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Route.UpdateDefinitionStages.Blank<RouteTable.Update>defineRoute(String name)Begins the definition of a new route to add to the route table.Route.UpdateupdateRoute(String name)Begins the update of an existing route on this route table.RouteTable.UpdatewithoutRoute(String name)Removes the specified route from the route table.RouteTable.UpdatewithRoute(String destinationAddressPrefix, RouteNextHopType nextHop)Creates a non-virtual appliance route.RouteTable.UpdatewithRouteViaVirtualAppliance(String destinationAddressPrefix, String ipAddress)Creates a route via a virtual appliance.
-
-
-
Method Detail
-
withRoute
RouteTable.Update 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 update
-
withRouteViaVirtualAppliance
RouteTable.Update 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 update
-
defineRoute
Route.UpdateDefinitionStages.Blank<RouteTable.Update> 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.InUpdate.attach()- Parameters:
name- the name of the route- Returns:
- the first stage of the definition
-
withoutRoute
RouteTable.Update withoutRoute(String name)
Removes the specified route from the route table.- Parameters:
name- the name of an existing route on this route table- Returns:
- the next stage of the update
-
updateRoute
Route.Update updateRoute(String name)
Begins the update of an existing route on this route table.- Parameters:
name- the name of an existing route- Returns:
- the first stage of the update
-
-