Did this page help you?

   Yes   No   Tell us about it...

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

Route Table

See Also:
Serialized Form

Constructor Summary
RouteTable()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<RouteTableAssociation> getAssociations()
          Returns the value of the Associations property for this object.
 java.util.List<PropagatingVgw> getPropagatingVgws()
          Returns the value of the PropagatingVgws property for this object.
 java.util.List<Route> getRoutes()
          Returns the value of the Routes property for this object.
 java.lang.String getRouteTableId()
          Returns the value of the RouteTableId property for this object.
 java.util.List<Tag> getTags()
          Returns the value of the Tags property for this object.
 java.lang.String getVpcId()
          Returns the value of the VpcId property for this object.
 int hashCode()
           
 void setAssociations(java.util.Collection<RouteTableAssociation> associations)
          Sets the value of the Associations property for this object.
 void setPropagatingVgws(java.util.Collection<PropagatingVgw> propagatingVgws)
          Sets the value of the PropagatingVgws property for this object.
 void setRoutes(java.util.Collection<Route> routes)
          Sets the value of the Routes property for this object.
 void setRouteTableId(java.lang.String routeTableId)
          Sets the value of the RouteTableId property for this object.
 void setTags(java.util.Collection<Tag> tags)
          Sets the value of the Tags property for this object.
 void setVpcId(java.lang.String vpcId)
          Sets the value of the VpcId property for this object.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RouteTable withAssociations(java.util.Collection<RouteTableAssociation> associations)
          Sets the value of the Associations property for this object.
 RouteTable withAssociations(RouteTableAssociation... associations)
          Sets the value of the Associations property for this object.
 RouteTable withPropagatingVgws(java.util.Collection<PropagatingVgw> propagatingVgws)
          Sets the value of the PropagatingVgws property for this object.
 RouteTable withPropagatingVgws(PropagatingVgw... propagatingVgws)
          Sets the value of the PropagatingVgws property for this object.
 RouteTable withRoutes(java.util.Collection<Route> routes)
          Sets the value of the Routes property for this object.
 RouteTable withRoutes(Route... routes)
          Sets the value of the Routes property for this object.
 RouteTable withRouteTableId(java.lang.String routeTableId)
          Sets the value of the RouteTableId property for this object.
 RouteTable withTags(java.util.Collection<Tag> tags)
          Sets the value of the Tags property for this object.
 RouteTable withTags(Tag... tags)
          Sets the value of the Tags property for this object.
 RouteTable withVpcId(java.lang.String vpcId)
          Sets the value of the VpcId property for this object.
 
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()
Returns the value of the RouteTableId property for this object.

Returns:
The value of the RouteTableId property for this object.

setRouteTableId

public void setRouteTableId(java.lang.String routeTableId)
Sets the value of the RouteTableId property for this object.

Parameters:
routeTableId - The new value for the RouteTableId property for this object.

withRouteTableId

public RouteTable withRouteTableId(java.lang.String routeTableId)
Sets the value of the RouteTableId property for this object.

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

Parameters:
routeTableId - The new value for the RouteTableId property for this object.

getVpcId

public java.lang.String getVpcId()
Returns the value of the VpcId property for this object.

Returns:
The value of the VpcId property for this object.

setVpcId

public void setVpcId(java.lang.String vpcId)
Sets the value of the VpcId property for this object.

Parameters:
vpcId - The new value for the VpcId property for this object.

withVpcId

public RouteTable withVpcId(java.lang.String vpcId)
Sets the value of the VpcId property for this object.

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

Parameters:
vpcId - The new value for the VpcId property for this object.

getRoutes

public java.util.List<Route> getRoutes()
Returns the value of the Routes property for this object.

Returns:
The value of the Routes property for this object.

setRoutes

public void setRoutes(java.util.Collection<Route> routes)
Sets the value of the Routes property for this object.

Parameters:
routes - The new value for the Routes property for this object.

withRoutes

public RouteTable withRoutes(Route... routes)
Sets the value of the Routes property for this object.

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

Parameters:
routes - The new value for the Routes property for this object.

withRoutes

public RouteTable withRoutes(java.util.Collection<Route> routes)
Sets the value of the Routes property for this object.

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

Parameters:
routes - The new value for the Routes property for this object.

getAssociations

public java.util.List<RouteTableAssociation> getAssociations()
Returns the value of the Associations property for this object.

Returns:
The value of the Associations property for this object.

setAssociations

public void setAssociations(java.util.Collection<RouteTableAssociation> associations)
Sets the value of the Associations property for this object.

Parameters:
associations - The new value for the Associations property for this object.

withAssociations

public RouteTable withAssociations(RouteTableAssociation... associations)
Sets the value of the Associations property for this object.

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

Parameters:
associations - The new value for the Associations property for this object.

withAssociations

public RouteTable withAssociations(java.util.Collection<RouteTableAssociation> associations)
Sets the value of the Associations property for this object.

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

Parameters:
associations - The new value for the Associations property for this object.

getTags

public java.util.List<Tag> getTags()
Returns the value of the Tags property for this object.

Returns:
The value of the Tags property for this object.

setTags

public void setTags(java.util.Collection<Tag> tags)
Sets the value of the Tags property for this object.

Parameters:
tags - The new value for the Tags property for this object.

withTags

public RouteTable withTags(Tag... tags)
Sets the value of the Tags property for this object.

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

Parameters:
tags - The new value for the Tags property for this object.

withTags

public RouteTable withTags(java.util.Collection<Tag> tags)
Sets the value of the Tags property for this object.

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

Parameters:
tags - The new value for the Tags property for this object.

getPropagatingVgws

public java.util.List<PropagatingVgw> getPropagatingVgws()
Returns the value of the PropagatingVgws property for this object.

Returns:
The value of the PropagatingVgws property for this object.

setPropagatingVgws

public void setPropagatingVgws(java.util.Collection<PropagatingVgw> propagatingVgws)
Sets the value of the PropagatingVgws property for this object.

Parameters:
propagatingVgws - The new value for the PropagatingVgws property for this object.

withPropagatingVgws

public RouteTable withPropagatingVgws(PropagatingVgw... propagatingVgws)
Sets the value of the PropagatingVgws property for this object.

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

Parameters:
propagatingVgws - The new value for the PropagatingVgws property for this object.

withPropagatingVgws

public RouteTable withPropagatingVgws(java.util.Collection<PropagatingVgw> propagatingVgws)
Sets the value of the PropagatingVgws property for this object.

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

Parameters:
propagatingVgws - The new value for the PropagatingVgws property for this object.

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.