Class RouteTableAssociation
- java.lang.Object
-
- com.amazonaws.services.ec2.model.RouteTableAssociation
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class RouteTableAssociation extends Object implements Serializable, Cloneable
Describes an association between a route table and a subnet.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RouteTableAssociation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setRouteTableAssociationId
public void setRouteTableAssociationId(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.
-
getRouteTableAssociationId
public 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.
-
withRouteTableAssociationId
public RouteTableAssociation withRouteTableAssociationId(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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRouteTableId
public void setRouteTableId(String routeTableId)
The ID of the route table.
- Parameters:
routeTableId
- The ID of the route table.
-
getRouteTableId
public String getRouteTableId()
The ID of the route table.
- Returns:
- The ID of the route table.
-
withRouteTableId
public RouteTableAssociation withRouteTableId(String routeTableId)
The ID of the route table.
- Parameters:
routeTableId
- The ID of the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetId
public void setSubnetId(String subnetId)
The ID of the subnet. A subnet ID is not returned for an implicit association.
- Parameters:
subnetId
- The ID of the subnet. A subnet ID is not returned for an implicit association.
-
getSubnetId
public String getSubnetId()
The ID of the subnet. A subnet ID is not returned for an implicit association.
- Returns:
- The ID of the subnet. A subnet ID is not returned for an implicit association.
-
withSubnetId
public RouteTableAssociation withSubnetId(String subnetId)
The ID of the subnet. A subnet ID is not returned for an implicit association.
- Parameters:
subnetId
- The ID of the subnet. A subnet ID is not returned for an implicit association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMain
public void setMain(Boolean main)
Indicates whether this is the main route table.
- Parameters:
main
- Indicates whether this is the main route table.
-
getMain
public Boolean getMain()
Indicates whether this is the main route table.
- Returns:
- Indicates whether this is the main route table.
-
withMain
public RouteTableAssociation withMain(Boolean main)
Indicates whether this is the main route table.
- Parameters:
main
- Indicates whether this is the main route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isMain
public Boolean isMain()
Indicates whether this is the main route table.
- Returns:
- Indicates whether this is the main route table.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RouteTableAssociation clone()
-
-