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:
  • Constructor Details

    • RouteTableAssociation

      public RouteTableAssociation()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public RouteTableAssociation clone()
      Overrides:
      clone in class Object