@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteTableAssociation extends Object implements Serializable, Cloneable
Describes an association between a route table and a subnet.
Constructor and Description |
---|
RouteTableAssociation() |
Modifier and Type | Method and Description |
---|---|
RouteTableAssociation |
clone() |
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 void setMain(Boolean main)
Indicates whether this is the main route table.
main
- Indicates whether this is the main route table.public Boolean getMain()
Indicates whether this is the main route table.
public RouteTableAssociation withMain(Boolean main)
Indicates whether this is the main route table.
main
- Indicates whether this is the main route table.public Boolean isMain()
Indicates whether this is the main route table.
public void setRouteTableAssociationId(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 String getRouteTableAssociationId()
The ID of the association between a route table and a subnet.
public RouteTableAssociation withRouteTableAssociationId(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(String routeTableId)
The ID of the route table.
routeTableId
- The ID of the route table.public String getRouteTableId()
The ID of the route table.
public RouteTableAssociation withRouteTableId(String routeTableId)
The ID of the route table.
routeTableId
- The ID of the route table.public void setSubnetId(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 String getSubnetId()
The ID of the subnet. A subnet ID is not returned for an implicit association.
public RouteTableAssociation withSubnetId(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 String toString()
toString
in class Object
Object.toString()
public RouteTableAssociation clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.