Subnet.UpdateDefinitionStages.WithRouteTable<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

public interface WithRouteTable

The stage of a subnet definition allowing to specify a route table to associate with the subnet.

Method Summary

Modifier and Type Method and Description
Subnet.UpdateDefinitionStages.WithAttach<ParentT> withExistingRouteTable(RouteTable routeTable)

Specifies an existing route table to associate with the subnet.

Subnet.UpdateDefinitionStages.WithAttach<ParentT> withExistingRouteTable(String resourceId)

Specifies an existing route table to associate with the subnet.

Method Details

withExistingRouteTable

public WithAttach 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 definition

withExistingRouteTable

public WithAttach 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 definition

Applies to