Interface RouteTable.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTable.Builder,RouteTable>,SdkBuilder<RouteTable.Builder,RouteTable>,SdkPojo
- Enclosing class:
- RouteTable
@Mutable @NotThreadSafe public static interface RouteTable.Builder extends SdkPojo, CopyableBuilder<RouteTable.Builder,RouteTable>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RouteTable.Builderassociations(Collection<RouteTableAssociation> associations)The associations between the route table and your subnets or gateways.RouteTable.Builderassociations(Consumer<RouteTableAssociation.Builder>... associations)The associations between the route table and your subnets or gateways.RouteTable.Builderassociations(RouteTableAssociation... associations)The associations between the route table and your subnets or gateways.RouteTable.BuilderownerId(String ownerId)The ID of the Amazon Web Services account that owns the route table.RouteTable.BuilderpropagatingVgws(Collection<PropagatingVgw> propagatingVgws)Any virtual private gateway (VGW) propagating routes.RouteTable.BuilderpropagatingVgws(Consumer<PropagatingVgw.Builder>... propagatingVgws)Any virtual private gateway (VGW) propagating routes.RouteTable.BuilderpropagatingVgws(PropagatingVgw... propagatingVgws)Any virtual private gateway (VGW) propagating routes.RouteTable.Builderroutes(Collection<Route> routes)The routes in the route table.RouteTable.Builderroutes(Consumer<Route.Builder>... routes)The routes in the route table.RouteTable.Builderroutes(Route... routes)The routes in the route table.RouteTable.BuilderrouteTableId(String routeTableId)The ID of the route table.RouteTable.Buildertags(Collection<Tag> tags)Any tags assigned to the route table.RouteTable.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the route table.RouteTable.Buildertags(Tag... tags)Any tags assigned to the route table.RouteTable.BuildervpcId(String vpcId)The ID of the VPC.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
associations
RouteTable.Builder associations(Collection<RouteTableAssociation> associations)
The associations between the route table and your subnets or gateways.
- Parameters:
associations- The associations between the route table and your subnets or gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
RouteTable.Builder associations(RouteTableAssociation... associations)
The associations between the route table and your subnets or gateways.
- Parameters:
associations- The associations between the route table and your subnets or gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
RouteTable.Builder associations(Consumer<RouteTableAssociation.Builder>... associations)
The associations between the route table and your subnets or gateways.
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 to#associations(List.) - 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:
#associations(java.util.Collection)
-
propagatingVgws
RouteTable.Builder propagatingVgws(Collection<PropagatingVgw> 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
RouteTable.Builder propagatingVgws(PropagatingVgw... 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
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.Builderavoiding the need to create one manually viaPropagatingVgw.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#propagatingVgws(List.) - 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:
#propagatingVgws(java.util.Collection)
-
routeTableId
RouteTable.Builder routeTableId(String 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
RouteTable.Builder routes(Collection<Route> 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
RouteTable.Builder routes(Route... 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
RouteTable.Builder routes(Consumer<Route.Builder>... 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 to#routes(List.) - 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:
#routes(java.util.Collection)
-
tags
RouteTable.Builder tags(Collection<Tag> 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
RouteTable.Builder tags(Tag... 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
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
vpcId
RouteTable.Builder vpcId(String 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
RouteTable.Builder ownerId(String 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.
-
-