Package com.amazonaws.services.ec2.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeRouteTablesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeRouteTablesResult
clone()
boolean
equals(Object obj)
List<RouteTable>
getRouteTables()
Information about one or more route tables.int
hashCode()
void
setRouteTables(Collection<RouteTable> routeTables)
Information about one or more route tables.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeRouteTablesResult
withRouteTables(RouteTable... routeTables)
Information about one or more route tables.DescribeRouteTablesResult
withRouteTables(Collection<RouteTable> routeTables)
Information about one or more route tables.
-
-
-
Method Detail
-
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)
orwithRouteTables(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeRouteTablesResult clone()
-
-