Interface Subnet.DefinitionStages.WithRouteTable<ParentT>
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
Subnet.Definition<ParentT>, Subnet.DefinitionStages.WithAttach<ParentT>
- Enclosing interface:
Subnet.DefinitionStages
public static interface Subnet.DefinitionStages.WithRouteTable<ParentT>
The stage of a subnet definition allowing to specify a route table to associate with the subnet.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingRouteTable(RouteTable routeTable) Specifies an existing route table to associate with the subnet.withExistingRouteTable(String resourceId) Specifies an existing route table to associate with the subnet.
-
Method Details
-
withExistingRouteTable
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
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
-