public static interface RouteTable.Builder extends SdkPojo, CopyableBuilder<RouteTable.Builder,RouteTable>
Modifier and Type | Method and Description |
---|---|
RouteTable.Builder |
associations(Collection<RouteTableAssociation> associations)
The associations between the route table and one or more subnets or a gateway.
|
RouteTable.Builder |
associations(Consumer<RouteTableAssociation.Builder>... associations)
The associations between the route table and one or more subnets or a gateway.
|
RouteTable.Builder |
associations(RouteTableAssociation... associations)
The associations between the route table and one or more subnets or a gateway.
|
RouteTable.Builder |
ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the route table.
|
RouteTable.Builder |
propagatingVgws(Collection<PropagatingVgw> propagatingVgws)
Any virtual private gateway (VGW) propagating routes.
|
RouteTable.Builder |
propagatingVgws(Consumer<PropagatingVgw.Builder>... propagatingVgws)
Any virtual private gateway (VGW) propagating routes.
|
RouteTable.Builder |
propagatingVgws(PropagatingVgw... propagatingVgws)
Any virtual private gateway (VGW) propagating routes.
|
RouteTable.Builder |
routes(Collection<Route> routes)
The routes in the route table.
|
RouteTable.Builder |
routes(Consumer<Route.Builder>... routes)
The routes in the route table.
|
RouteTable.Builder |
routes(Route... routes)
The routes in the route table.
|
RouteTable.Builder |
routeTableId(String routeTableId)
The ID of the route table.
|
RouteTable.Builder |
tags(Collection<Tag> tags)
Any tags assigned to the route table.
|
RouteTable.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the route table.
|
RouteTable.Builder |
tags(Tag... tags)
Any tags assigned to the route table.
|
RouteTable.Builder |
vpcId(String vpcId)
The ID of the VPC.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
RouteTable.Builder associations(Collection<RouteTableAssociation> associations)
The associations between the route table and one or more subnets or a gateway.
associations
- The associations between the route table and one or more subnets or a gateway.RouteTable.Builder associations(RouteTableAssociation... associations)
The associations between the route table and one or more subnets or a gateway.
associations
- The associations between the route table and one or more subnets or a gateway.RouteTable.Builder associations(Consumer<RouteTableAssociation.Builder>... associations)
The associations between the route table and one or more subnets or a gateway.
This is a convenience method that creates an instance of theRouteTableAssociation.Builder
avoiding the need to create
one manually via RouteTableAssociation.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately
and its result is passed to #associations(List
.
associations
- a consumer that will call methods on
RouteTableAssociation.Builder
#associations(java.util.Collection)
RouteTable.Builder propagatingVgws(Collection<PropagatingVgw> propagatingVgws)
Any virtual private gateway (VGW) propagating routes.
propagatingVgws
- Any virtual private gateway (VGW) propagating routes.RouteTable.Builder propagatingVgws(PropagatingVgw... propagatingVgws)
Any virtual private gateway (VGW) propagating routes.
propagatingVgws
- Any virtual private gateway (VGW) propagating routes.RouteTable.Builder propagatingVgws(Consumer<PropagatingVgw.Builder>... propagatingVgws)
Any virtual private gateway (VGW) propagating routes.
This is a convenience method that creates an instance of thePropagatingVgw.Builder
avoiding the need to create one
manually via PropagatingVgw.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #propagatingVgws(List
.
propagatingVgws
- a consumer that will call methods on
PropagatingVgw.Builder
#propagatingVgws(java.util.Collection)
RouteTable.Builder routeTableId(String routeTableId)
The ID of the route table.
routeTableId
- The ID of the route table.RouteTable.Builder routes(Collection<Route> routes)
The routes in the route table.
routes
- The routes in the route table.RouteTable.Builder routes(Route... routes)
The routes in the route table.
routes
- The routes in the route table.RouteTable.Builder routes(Consumer<Route.Builder>... routes)
The routes in the route table.
This is a convenience method that creates an instance of theRoute.Builder
avoiding the need to create one manually via
Route.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is passed to #routes(List
.
routes
- a consumer that will call methods on Route.Builder
#routes(java.util.Collection)
RouteTable.Builder tags(Collection<Tag> tags)
Any tags assigned to the route table.
tags
- Any tags assigned to the route table.RouteTable.Builder tags(Tag... tags)
Any tags assigned to the route table.
tags
- Any tags assigned to the route table.RouteTable.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the route table.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
RouteTable.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.RouteTable.Builder ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the route table.
ownerId
- The ID of the Amazon Web Services account that owns the route table.Copyright © 2023. All rights reserved.