public class RouteTableAssociation extends Object implements Serializable
Describes an association between a route table and a subnet.
Constructor and Description |
---|
RouteTableAssociation() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getMain()
Indicates whether this is the main route table.
|
String |
getRouteTableAssociationId()
The ID of the association between a route table and a subnet.
|
String |
getRouteTableId()
The ID of the route table.
|
String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
Boolean |
isMain()
Indicates whether this is the main route table.
|
void |
setMain(Boolean main)
Indicates whether this is the main route table.
|
void |
setRouteTableAssociationId(String routeTableAssociationId)
The ID of the association between a route table and a subnet.
|
void |
setRouteTableId(String routeTableId)
The ID of the route table.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RouteTableAssociation |
withMain(Boolean main)
Indicates whether this is the main route table.
|
RouteTableAssociation |
withRouteTableAssociationId(String routeTableAssociationId)
The ID of the association between a route table and a subnet.
|
RouteTableAssociation |
withRouteTableId(String routeTableId)
The ID of the route table.
|
RouteTableAssociation |
withSubnetId(String subnetId)
The ID of the subnet.
|
public String getRouteTableAssociationId()
public void setRouteTableAssociationId(String routeTableAssociationId)
routeTableAssociationId
- The ID of the association between a route table and a subnet.public RouteTableAssociation withRouteTableAssociationId(String routeTableAssociationId)
Returns a reference to this object so that method calls can be chained together.
routeTableAssociationId
- The ID of the association between a route table and a subnet.public String getRouteTableId()
public void setRouteTableId(String routeTableId)
routeTableId
- The ID of the route table.public RouteTableAssociation withRouteTableId(String routeTableId)
Returns a reference to this object so that method calls can be chained together.
routeTableId
- The ID of the route table.public String getSubnetId()
public void setSubnetId(String subnetId)
subnetId
- The ID of the subnet.public RouteTableAssociation withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId
- The ID of the subnet.public Boolean isMain()
public void setMain(Boolean main)
main
- Indicates whether this is the main route table.public RouteTableAssociation withMain(Boolean main)
Returns a reference to this object so that method calls can be chained together.
main
- Indicates whether this is the main route table.public Boolean getMain()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.