Class RouteTable
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a route table.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The associations between the route table and one or more subnets.Any virtual private gateway (VGW) propagating routes.The routes in the route table.The ID of the route table.getTags()
Any tags assigned to the route table.getVpcId()
The ID of the VPC.int
hashCode()
void
setAssociations
(Collection<RouteTableAssociation> associations) The associations between the route table and one or more subnets.void
setPropagatingVgws
(Collection<PropagatingVgw> propagatingVgws) Any virtual private gateway (VGW) propagating routes.void
setRoutes
(Collection<Route> routes) The routes in the route table.void
setRouteTableId
(String routeTableId) The ID of the route table.void
setTags
(Collection<Tag> tags) Any tags assigned to the route table.void
The ID of the VPC.toString()
Returns a string representation of this object; useful for testing and debugging.withAssociations
(RouteTableAssociation... associations) The associations between the route table and one or more subnets.withAssociations
(Collection<RouteTableAssociation> associations) The associations between the route table and one or more subnets.withPropagatingVgws
(PropagatingVgw... propagatingVgws) Any virtual private gateway (VGW) propagating routes.withPropagatingVgws
(Collection<PropagatingVgw> propagatingVgws) Any virtual private gateway (VGW) propagating routes.withRoutes
(Route... routes) The routes in the route table.withRoutes
(Collection<Route> routes) The routes in the route table.withRouteTableId
(String routeTableId) The ID of the route table.Any tags assigned to the route table.withTags
(Collection<Tag> tags) Any tags assigned to the route table.The ID of the VPC.
-
Constructor Details
-
RouteTable
public RouteTable()
-
-
Method Details
-
setRouteTableId
The ID of the route table.
- Parameters:
routeTableId
- The ID of the route table.
-
getRouteTableId
The ID of the route table.
- Returns:
- The ID of the route table.
-
withRouteTableId
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.
-
setVpcId
The ID of the VPC.
- Parameters:
vpcId
- The ID of the VPC.
-
getVpcId
The ID of the VPC.
- Returns:
- The ID of the VPC.
-
withVpcId
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.
-
getRoutes
The routes in the route table.
- Returns:
- The routes in the route table.
-
setRoutes
The routes in the route table.
- Parameters:
routes
- The routes in the route table.
-
withRoutes
The routes in the route table.
NOTE: This method appends the values to the existing list (if any). Use
setRoutes(java.util.Collection)
orwithRoutes(java.util.Collection)
if you want to override the existing values.- Parameters:
routes
- The routes in the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRoutes
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.
-
getAssociations
The associations between the route table and one or more subnets.
- Returns:
- The associations between the route table and one or more subnets.
-
setAssociations
The associations between the route table and one or more subnets.
- Parameters:
associations
- The associations between the route table and one or more subnets.
-
withAssociations
The associations between the route table and one or more subnets.
NOTE: This method appends the values to the existing list (if any). Use
setAssociations(java.util.Collection)
orwithAssociations(java.util.Collection)
if you want to override the existing values.- Parameters:
associations
- The associations between the route table and one or more subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAssociations
The associations between the route table and one or more subnets.
- Parameters:
associations
- The associations between the route table and one or more subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
Any tags assigned to the route table.
- Returns:
- Any tags assigned to the route table.
-
setTags
Any tags assigned to the route table.
- Parameters:
tags
- Any tags assigned to the route table.
-
withTags
Any tags assigned to the route table.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- Any tags assigned to the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
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.
-
getPropagatingVgws
Any virtual private gateway (VGW) propagating routes.
- Returns:
- Any virtual private gateway (VGW) propagating routes.
-
setPropagatingVgws
Any virtual private gateway (VGW) propagating routes.
- Parameters:
propagatingVgws
- Any virtual private gateway (VGW) propagating routes.
-
withPropagatingVgws
Any virtual private gateway (VGW) propagating routes.
NOTE: This method appends the values to the existing list (if any). Use
setPropagatingVgws(java.util.Collection)
orwithPropagatingVgws(java.util.Collection)
if you want to override the existing values.- Parameters:
propagatingVgws
- Any virtual private gateway (VGW) propagating routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPropagatingVgws
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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-