Interface RouteTable.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTable.Builder,,RouteTable> SdkBuilder<RouteTable.Builder,,RouteTable> SdkPojo
- Enclosing class:
RouteTable
-
Method Summary
Modifier and TypeMethodDescriptionassociations(Collection<RouteTableAssociation> associations) The associations between the route table and one or more subnets or a gateway.associations(Consumer<RouteTableAssociation.Builder>... associations) The associations between the route table and one or more subnets or a gateway.associations(RouteTableAssociation... associations) The associations between the route table and one or more subnets or a gateway.The ID of the Amazon Web Services account that owns the route table.propagatingVgws(Collection<PropagatingVgw> propagatingVgws) Any virtual private gateway (VGW) propagating routes.propagatingVgws(Consumer<PropagatingVgw.Builder>... propagatingVgws) Any virtual private gateway (VGW) propagating routes.propagatingVgws(PropagatingVgw... propagatingVgws) Any virtual private gateway (VGW) propagating routes.routes(Collection<Route> routes) The routes in the route table.routes(Consumer<Route.Builder>... routes) The routes in the route table.The routes in the route table.routeTableId(String routeTableId) The ID of the route table.tags(Collection<Tag> tags) Any tags assigned to the route table.tags(Consumer<Tag.Builder>... tags) Any tags assigned to the route table.Any tags assigned to the route table.The ID of the VPC.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
associations
The associations between the route table and one or more subnets or a gateway.
- Parameters:
associations- The associations between the route table and one or more subnets or a gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
The associations between the route table and one or more subnets or a gateway.
- Parameters:
associations- The associations between the route table and one or more subnets or a gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaRouteTableAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociations(List<RouteTableAssociation>).- Parameters:
associations- a consumer that will call methods onRouteTableAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagatingVgws
Any virtual private gateway (VGW) propagating routes.
- Parameters:
propagatingVgws- Any virtual private gateway (VGW) propagating routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propagatingVgws
Any virtual private gateway (VGW) propagating routes.
- Parameters:
propagatingVgws- Any virtual private gateway (VGW) propagating routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propagatingVgws
Any virtual private gateway (VGW) propagating routes.
This is a convenience method that creates an instance of thePropagatingVgw.Builderavoiding the need to create one manually viaPropagatingVgw.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topropagatingVgws(List<PropagatingVgw>).- Parameters:
propagatingVgws- a consumer that will call methods onPropagatingVgw.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeTableId
The ID of the route table.
- Parameters:
routeTableId- The ID of the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The routes in the route table.
- Parameters:
routes- The routes in the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The routes in the route table.
- Parameters:
routes- The routes in the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The routes in the route table.
This is a convenience method that creates an instance of theRoute.Builderavoiding the need to create one manually viaRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutes(List<Route>).- Parameters:
routes- a consumer that will call methods onRoute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Any tags assigned to the route table.
- Parameters:
tags- Any tags assigned to the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the route table.
- Parameters:
tags- Any tags assigned to the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the route table.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcId
The ID of the VPC.
- Parameters:
vpcId- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
The ID of the Amazon Web Services account that owns the route table.
- Parameters:
ownerId- The ID of the Amazon Web Services account that owns the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-