com.amazonaws.services.ec2.model
Class RouteTableAssociation

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

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

Describes an association between a route table and a subnet.

See Also:
Serialized Form

Constructor Summary
RouteTableAssociation()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Boolean getMain()
          Indicates whether this is the main route table.
 java.lang.String getRouteTableAssociationId()
          The ID of the association between a route table and a subnet.
 java.lang.String getRouteTableId()
          The ID of the route table.
 java.lang.String getSubnetId()
          The ID of the subnet.
 int hashCode()
           
 java.lang.Boolean isMain()
          Indicates whether this is the main route table.
 void setMain(java.lang.Boolean main)
          Indicates whether this is the main route table.
 void setRouteTableAssociationId(java.lang.String routeTableAssociationId)
          The ID of the association between a route table and a subnet.
 void setRouteTableId(java.lang.String routeTableId)
          The ID of the route table.
 void setSubnetId(java.lang.String subnetId)
          The ID of the subnet.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RouteTableAssociation withMain(java.lang.Boolean main)
          Indicates whether this is the main route table.
 RouteTableAssociation withRouteTableAssociationId(java.lang.String routeTableAssociationId)
          The ID of the association between a route table and a subnet.
 RouteTableAssociation withRouteTableId(java.lang.String routeTableId)
          The ID of the route table.
 RouteTableAssociation withSubnetId(java.lang.String subnetId)
          The ID of the subnet.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RouteTableAssociation

public RouteTableAssociation()
Method Detail

getRouteTableAssociationId

public java.lang.String getRouteTableAssociationId()
The ID of the association between a route table and a subnet.

Returns:
The ID of the association between a route table and a subnet.

setRouteTableAssociationId

public void setRouteTableAssociationId(java.lang.String routeTableAssociationId)
The ID of the association between a route table and a subnet.

Parameters:
routeTableAssociationId - The ID of the association between a route table and a subnet.

withRouteTableAssociationId

public RouteTableAssociation withRouteTableAssociationId(java.lang.String routeTableAssociationId)
The ID of the association between a route table and a subnet.

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

Parameters:
routeTableAssociationId - The ID of the association between a route table and a subnet.
Returns:
A reference to this updated object so that method calls can be chained together.

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 RouteTableAssociation 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.

getSubnetId

public java.lang.String getSubnetId()
The ID of the subnet.

Returns:
The ID of the subnet.

setSubnetId

public void setSubnetId(java.lang.String subnetId)
The ID of the subnet.

Parameters:
subnetId - The ID of the subnet.

withSubnetId

public RouteTableAssociation withSubnetId(java.lang.String subnetId)
The ID of the subnet.

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

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

isMain

public java.lang.Boolean isMain()
Indicates whether this is the main route table.

Returns:
Indicates whether this is the main route table.

setMain

public void setMain(java.lang.Boolean main)
Indicates whether this is the main route table.

Parameters:
main - Indicates whether this is the main route table.

withMain

public RouteTableAssociation withMain(java.lang.Boolean main)
Indicates whether this is the main route table.

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

Parameters:
main - Indicates whether this is the main route table.
Returns:
A reference to this updated object so that method calls can be chained together.

getMain

public java.lang.Boolean getMain()
Indicates whether this is the main route table.

Returns:
Indicates whether this is the main route table.

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.