public class RouteTableAssociation
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an association between a route table and a subnet.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
main
Indicates whether this is the main route table.
|
private java.lang.String |
routeTableAssociationId
The ID of the association between a route table and a subnet.
|
private java.lang.String |
routeTableId
The ID of the route table.
|
private java.lang.String |
subnetId
The ID of the subnet.
|
Constructor and Description |
---|
RouteTableAssociation() |
Modifier and Type | Method and Description |
---|---|
RouteTableAssociation |
clone() |
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.
|
private java.lang.String routeTableAssociationId
The ID of the association between a route table and a subnet.
private java.lang.String routeTableId
The ID of the route table.
private java.lang.String subnetId
The ID of the subnet. A subnet ID is not returned for an implicit association.
private java.lang.Boolean main
Indicates whether this is the main route table.
public void setRouteTableAssociationId(java.lang.String routeTableAssociationId)
The ID of the association between a route table and a subnet.
routeTableAssociationId
- The ID of the association between a route table and a subnet.public java.lang.String getRouteTableAssociationId()
The ID of the association between a route table and a subnet.
public RouteTableAssociation withRouteTableAssociationId(java.lang.String routeTableAssociationId)
The ID of the association between a route table and a subnet.
routeTableAssociationId
- The ID of the association between a route table and a subnet.public void setRouteTableId(java.lang.String routeTableId)
The ID of the route table.
routeTableId
- The ID of the route table.public java.lang.String getRouteTableId()
The ID of the route table.
public RouteTableAssociation withRouteTableId(java.lang.String routeTableId)
The ID of the route table.
routeTableId
- The ID of the route table.public void setSubnetId(java.lang.String subnetId)
The ID of the subnet. A subnet ID is not returned for an implicit association.
subnetId
- The ID of the subnet. A subnet ID is not returned for an implicit
association.public java.lang.String getSubnetId()
The ID of the subnet. A subnet ID is not returned for an implicit association.
public RouteTableAssociation withSubnetId(java.lang.String subnetId)
The ID of the subnet. A subnet ID is not returned for an implicit association.
subnetId
- The ID of the subnet. A subnet ID is not returned for an implicit
association.public void setMain(java.lang.Boolean main)
Indicates whether this is the main route table.
main
- Indicates whether this is the main route table.public java.lang.Boolean getMain()
Indicates whether this is the main route table.
public RouteTableAssociation withMain(java.lang.Boolean main)
Indicates whether this is the main route table.
main
- Indicates whether this is the main route table.public java.lang.Boolean isMain()
Indicates whether this is the main route table.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RouteTableAssociation clone()
clone
in class java.lang.Object