Interface RouteTable.DefinitionStages.WithRoute

All Known Subinterfaces:
RouteTable.Definition, RouteTable.DefinitionStages.WithCreate
Enclosing interface:
RouteTable.DefinitionStages

public static interface RouteTable.DefinitionStages.WithRoute
The stage of the route table definition allowing to add routes.
  • Method Details

    • defineRoute

      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 to
      nextHop - 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 to
      ipAddress - the IP address of the virtual appliance to route the traffic through
      Returns:
      the next stage of the definition