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 RouteTableAssociationclone()booleanequals(Object obj)BooleangetMain()Indicates whether this is the main route table.StringgetRouteTableAssociationId()The ID of the association between a route table and a subnet.StringgetRouteTableId()The ID of the route table.StringgetSubnetId()The ID of the subnet.inthashCode()BooleanisMain()Indicates whether this is the main route table.voidsetMain(Boolean main)Indicates whether this is the main route table.voidsetRouteTableAssociationId(String routeTableAssociationId)The ID of the association between a route table and a subnet.voidsetRouteTableId(String routeTableId)The ID of the route table.voidsetSubnetId(String subnetId)The ID of the subnet.StringtoString()Returns a string representation of this object; useful for testing and debugging.RouteTableAssociationwithMain(Boolean main)Indicates whether this is the main route table.RouteTableAssociationwithRouteTableAssociationId(String routeTableAssociationId)The ID of the association between a route table and a subnet.RouteTableAssociationwithRouteTableId(String routeTableId)The ID of the route table.RouteTableAssociationwithSubnetId(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RouteTableAssociation clone()
-
-