Subnet.UpdateStages.WithRouteTable Interface

public interface WithRouteTable

The stage of a subnet update allowing to specify a route table to associate with the subnet, or remove an existing association.

Method Summary

Modifier and Type Method and Description
Subnet.Update withExistingRouteTable(RouteTable routeTable)

Specifies an existing route table to associate with the subnet.

Subnet.Update withExistingRouteTable(String resourceId)

Specifies an existing route table to associate with the subnet.

Subnet.Update withoutRouteTable()

Removes the association with a route table, if any.

Method Details

withExistingRouteTable

public Update withExistingRouteTable(RouteTable routeTable)

Specifies an existing route table to associate with the subnet.

Parameters:

routeTable - an existing route table to associate

Returns:

the next stage of the update

withExistingRouteTable

public Update withExistingRouteTable(String resourceId)

Specifies an existing route table to associate with the subnet.

Parameters:

resourceId - the resource ID of an existing route table

Returns:

the next stage of the update

withoutRouteTable

public Update withoutRouteTable()

Removes the association with a route table, if any.

Returns:

the next stage of the update

Applies to