@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteTable extends Object implements Serializable, Cloneable
Describes a route table.
Constructor and Description |
---|
RouteTable() |
Modifier and Type | Method and Description |
---|---|
RouteTable |
clone() |
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 List<RouteTableAssociation> getAssociations()
The associations between the route table and one or more subnets.
public void setAssociations(Collection<RouteTableAssociation> associations)
The associations between the route table and one or more subnets.
associations
- The associations between the route table and one or more subnets.public RouteTable withAssociations(RouteTableAssociation... associations)
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)
or withAssociations(java.util.Collection)
if you want to
override the existing values.
associations
- The associations between the route table and one or more subnets.public RouteTable withAssociations(Collection<RouteTableAssociation> associations)
The associations between the route table and one or more subnets.
associations
- The associations between the route table and one or more subnets.public List<PropagatingVgw> getPropagatingVgws()
Any virtual private gateway (VGW) propagating routes.
public void setPropagatingVgws(Collection<PropagatingVgw> propagatingVgws)
Any virtual private gateway (VGW) propagating routes.
propagatingVgws
- Any virtual private gateway (VGW) propagating routes.public RouteTable withPropagatingVgws(PropagatingVgw... propagatingVgws)
Any virtual private gateway (VGW) propagating routes.
NOTE: This method appends the values to the existing list (if any). Use
setPropagatingVgws(java.util.Collection)
or withPropagatingVgws(java.util.Collection)
if you
want to override the existing values.
propagatingVgws
- Any virtual private gateway (VGW) propagating routes.public RouteTable withPropagatingVgws(Collection<PropagatingVgw> propagatingVgws)
Any virtual private gateway (VGW) propagating routes.
propagatingVgws
- Any virtual private gateway (VGW) propagating routes.public void setRouteTableId(String routeTableId)
The ID of the route table.
routeTableId
- The ID of the route table.public String getRouteTableId()
The ID of the route table.
public RouteTable withRouteTableId(String routeTableId)
The ID of the route table.
routeTableId
- The ID of the route table.public List<Route> getRoutes()
The routes in the route table.
public void setRoutes(Collection<Route> routes)
The routes in the route table.
routes
- The routes in the route table.public RouteTable withRoutes(Route... routes)
The routes in the route table.
NOTE: This method appends the values to the existing list (if any). Use
setRoutes(java.util.Collection)
or withRoutes(java.util.Collection)
if you want to override the
existing values.
routes
- The routes in the route table.public RouteTable withRoutes(Collection<Route> routes)
The routes in the route table.
routes
- The routes in the route table.public List<Tag> getTags()
Any tags assigned to the route table.
public void setTags(Collection<Tag> tags)
Any tags assigned to the route table.
tags
- Any tags assigned to the route table.public RouteTable withTags(Tag... tags)
Any tags assigned to the route table.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the route table.public RouteTable withTags(Collection<Tag> tags)
Any tags assigned to the route table.
tags
- Any tags assigned to the route table.public void setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public RouteTable withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String toString()
toString
in class Object
Object.toString()
public RouteTable clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.