Subnet.DefinitionStages.WithRouteTable<ParentT> Interface

Type Parameters

ParentT

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

public static interface Subnet.DefinitionStages.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
abstract WithAttach<ParentT> withExistingRouteTable(RouteTable routeTable)

Specifies an existing route table to associate with the subnet.

abstract WithAttach<ParentT> withExistingRouteTable(String resourceId)

Specifies an existing route table to associate with the subnet.

Method Details

withExistingRouteTable

public abstract Subnet.DefinitionStages.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 abstract Subnet.DefinitionStages.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