RouteTable.UpdateStages.WithRoute Interface

public interface WithRoute

The stage of the route table definition allowing to add, remove or modify routes.

Method Summary

Modifier and Type Method and Description
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 attach()

Route.Update updateRoute(String name)

Begins the update of an existing route on this route table.

RouteTable.Update withoutRoute(String name)

Removes the specified route from the route table.

RouteTable.Update withRoute(String destinationAddressPrefix, RouteNextHopType nextHop)

Creates a non-virtual appliance route.

The name is generated automatically.

RouteTable.Update withRouteViaVirtualAppliance(String destinationAddressPrefix, String ipAddress)

Creates a route via a virtual appliance.

Method Details

defineRoute

public Route.UpdateDefinitionStages.Blank 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 attach()

Parameters:

name - the name of the route

Returns:

the first stage of the definition

updateRoute

public 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

withoutRoute

public 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

withRoute

public 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 to
nextHop - the next hop type

Returns:

the next stage of the update

withRouteViaVirtualAppliance

public 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 to
ipAddress - the IP address of the virtual appliance to route the traffic through

Returns:

the next stage of the update

Applies to