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