Class DescribeRouteTablesResult

java.lang.Object
com.amazonaws.services.ec2.model.DescribeRouteTablesResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeRouteTablesResult extends Object implements Serializable, Cloneable

Contains the output of DescribeRouteTables.

See Also:
  • Constructor Details

    • DescribeRouteTablesResult

      public DescribeRouteTablesResult()
  • Method Details

    • getRouteTables

      public List<RouteTable> getRouteTables()

      Information about one or more route tables.

      Returns:
      Information about one or more route tables.
    • setRouteTables

      public void setRouteTables(Collection<RouteTable> routeTables)

      Information about one or more route tables.

      Parameters:
      routeTables - Information about one or more route tables.
    • withRouteTables

      public DescribeRouteTablesResult withRouteTables(RouteTable... routeTables)

      Information about one or more route tables.

      NOTE: This method appends the values to the existing list (if any). Use setRouteTables(java.util.Collection) or withRouteTables(java.util.Collection) if you want to override the existing values.

      Parameters:
      routeTables - Information about one or more route tables.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withRouteTables

      public DescribeRouteTablesResult withRouteTables(Collection<RouteTable> routeTables)

      Information about one or more route tables.

      Parameters:
      routeTables - Information about one or more route tables.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 DescribeRouteTablesResult clone()
      Overrides:
      clone in class Object