public class RouteTable extends Object implements Serializable
Describes a route table.
Constructor and Description |
---|
RouteTable() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<RouteTableAssociation> |
getAssociations()
The associations between the route table and one or more subnets.
|
List<PropagatingVgw> |
getPropagatingVgws()
Any virtual private gateway (VGW) propagating routes.
|
List<Route> |
getRoutes()
The routes in the route table.
|
String |
getRouteTableId()
The ID of the route table.
|
List<Tag> |
getTags()
Any tags assigned to the route table.
|
String |
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 |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RouteTable |
withAssociations(Collection<RouteTableAssociation> associations)
The associations between the route table and one or more subnets.
|
RouteTable |
withAssociations(RouteTableAssociation... associations)
The associations between the route table and one or more subnets.
|
RouteTable |
withPropagatingVgws(Collection<PropagatingVgw> propagatingVgws)
Any virtual private gateway (VGW) propagating routes.
|
RouteTable |
withPropagatingVgws(PropagatingVgw... propagatingVgws)
Any virtual private gateway (VGW) propagating routes.
|
RouteTable |
withRoutes(Collection<Route> routes)
The routes in the route table.
|
RouteTable |
withRoutes(Route... routes)
The routes in the route table.
|
RouteTable |
withRouteTableId(String routeTableId)
The ID of the route table.
|
RouteTable |
withTags(Collection<Tag> tags)
Any tags assigned to the route table.
|
RouteTable |
withTags(Tag... tags)
Any tags assigned to the route table.
|
RouteTable |
withVpcId(String vpcId)
The ID of the VPC.
|
public String getRouteTableId()
public void setRouteTableId(String routeTableId)
routeTableId
- The ID of the route table.public RouteTable withRouteTableId(String routeTableId)
Returns a reference to this object so that method calls can be chained together.
routeTableId
- The ID of the route table.public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC.public RouteTable withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC.public List<Route> getRoutes()
public void setRoutes(Collection<Route> routes)
routes
- The routes in the route table.public RouteTable withRoutes(Route... routes)
Returns a reference to this object so that method calls can be chained together.
routes
- The routes in the route table.public RouteTable withRoutes(Collection<Route> routes)
Returns a reference to this object so that method calls can be chained together.
routes
- The routes in the route table.public List<RouteTableAssociation> getAssociations()
public void setAssociations(Collection<RouteTableAssociation> associations)
associations
- The associations between the route table and one or more subnets.public RouteTable withAssociations(RouteTableAssociation... associations)
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.public RouteTable withAssociations(Collection<RouteTableAssociation> associations)
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.public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- Any tags assigned to the route table.public RouteTable withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- Any tags assigned to the route table.public RouteTable withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- Any tags assigned to the route table.public List<PropagatingVgw> getPropagatingVgws()
public void setPropagatingVgws(Collection<PropagatingVgw> propagatingVgws)
propagatingVgws
- Any virtual private gateway (VGW) propagating routes.public RouteTable withPropagatingVgws(PropagatingVgw... propagatingVgws)
Returns a reference to this object so that method calls can be chained together.
propagatingVgws
- Any virtual private gateway (VGW) propagating routes.public RouteTable withPropagatingVgws(Collection<PropagatingVgw> propagatingVgws)
Returns a reference to this object so that method calls can be chained together.
propagatingVgws
- Any virtual private gateway (VGW) propagating routes.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.