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