com.amazonaws.services.ec2.model
Class RouteTable

java.lang.Object
  extended by com.amazonaws.services.ec2.model.RouteTable
All Implemented Interfaces:
java.io.Serializable

public class RouteTable
extends java.lang.Object
implements java.io.Serializable

Describes a route table.

See Also:
Serialized Form

Constructor Summary
RouteTable()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RouteTable

public RouteTable()
Method Detail

getRouteTableId

public java.lang.String getRouteTableId()
The ID of the route table.

Returns:
The ID of the route table.

setRouteTableId

public void setRouteTableId(java.lang.String routeTableId)
The ID of the route table.

Parameters:
routeTableId - The ID of the route table.

withRouteTableId

public RouteTable withRouteTableId(java.lang.String routeTableId)
The ID of the route table.

Returns a reference to this object so that method calls can be chained together.

Parameters:
routeTableId - The ID of the route table.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcId

public java.lang.String getVpcId()
The ID of the VPC.

Returns:
The ID of the VPC.

setVpcId

public void setVpcId(java.lang.String vpcId)
The ID of the VPC.

Parameters:
vpcId - The ID of the VPC.

withVpcId

public RouteTable withVpcId(java.lang.String vpcId)
The ID of the VPC.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcId - The ID of the VPC.
Returns:
A reference to this updated object so that method calls can be chained together.

getRoutes

public java.util.List<Route> getRoutes()
The routes in the route table.

Returns:
The routes in the route table.

setRoutes

public void setRoutes(java.util.Collection<Route> routes)
The routes in the route table.

Parameters:
routes - The routes in the route table.

withRoutes

public RouteTable withRoutes(Route... routes)
The routes in the route table.

Returns a reference to this object so that method calls can be chained together.

Parameters:
routes - The routes in the route table.
Returns:
A reference to this updated object so that method calls can be chained together.

withRoutes

public RouteTable withRoutes(java.util.Collection<Route> routes)
The routes in the route table.

Returns a reference to this object so that method calls can be chained together.

Parameters:
routes - The routes in the route table.
Returns:
A reference to this updated object so that method calls can be chained together.

getAssociations

public java.util.List<RouteTableAssociation> 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

public void setAssociations(java.util.Collection<RouteTableAssociation> associations)
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

public RouteTable withAssociations(RouteTableAssociation... associations)
The associations between the route table and one or more subnets.

Returns a reference to this object so that method calls can be chained together.

Parameters:
associations - The associations between the route table and one or more subnets.
Returns:
A reference to this updated object so that method calls can be chained together.

withAssociations

public RouteTable withAssociations(java.util.Collection<RouteTableAssociation> associations)
The associations between the route table and one or more subnets.

Returns a reference to this object so that method calls can be chained together.

Parameters:
associations - The associations between the route table and one or more subnets.
Returns:
A reference to this updated object so that method calls can be chained together.

getTags

public java.util.List<Tag> getTags()
Any tags assigned to the route table.

Returns:
Any tags assigned to the route table.

setTags

public void setTags(java.util.Collection<Tag> tags)
Any tags assigned to the route table.

Parameters:
tags - Any tags assigned to the route table.

withTags

public RouteTable withTags(Tag... tags)
Any tags assigned to the route table.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - Any tags assigned to the route table.
Returns:
A reference to this updated object so that method calls can be chained together.

withTags

public RouteTable withTags(java.util.Collection<Tag> tags)
Any tags assigned to the route table.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - Any tags assigned to the route table.
Returns:
A reference to this updated object so that method calls can be chained together.

getPropagatingVgws

public java.util.List<PropagatingVgw> getPropagatingVgws()
Any virtual private gateway (VGW) propagating routes.

Returns:
Any virtual private gateway (VGW) propagating routes.

setPropagatingVgws

public void setPropagatingVgws(java.util.Collection<PropagatingVgw> propagatingVgws)
Any virtual private gateway (VGW) propagating routes.

Parameters:
propagatingVgws - Any virtual private gateway (VGW) propagating routes.

withPropagatingVgws

public RouteTable withPropagatingVgws(PropagatingVgw... propagatingVgws)
Any virtual private gateway (VGW) propagating routes.

Returns a reference to this object so that method calls can be chained together.

Parameters:
propagatingVgws - Any virtual private gateway (VGW) propagating routes.
Returns:
A reference to this updated object so that method calls can be chained together.

withPropagatingVgws

public RouteTable withPropagatingVgws(java.util.Collection<PropagatingVgw> propagatingVgws)
Any virtual private gateway (VGW) propagating routes.

Returns a reference to this object so that method calls can be chained together.

Parameters:
propagatingVgws - Any virtual private gateway (VGW) propagating routes.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.