Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class DescribeRouteTablesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeRouteTablesRequest
All Implemented Interfaces:
Serializable

public class DescribeRouteTablesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeRouteTables operation.

Gives you information about your route tables. You can filter the results to return information only about tables that match criteria you specify. For example, you could get information only about a table associated with a particular subnet. You can specify multiple values for the filter. The table must match at least one of the specified values for it to be included in the results.

You can specify multiple filters (e.g., the table has a particular route, and is associated with a particular subnet). The result includes information for a particular table only if it matches all your filters. If there's no match, no special message is returned; the response is simply empty.

You can use wildcards with the filter values: an asterisk matches zero or more characters, and ? matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\ .

See Also:
AmazonEC2.describeRouteTables(DescribeRouteTablesRequest), Serialized Form

Constructor Summary
DescribeRouteTablesRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Filter> getFilters()
          A list of filters used to match properties for Route Tables.
 List<String> getRouteTableIds()
          One or more route table IDs.
 int hashCode()
           
 void setFilters(Collection<Filter> filters)
          A list of filters used to match properties for Route Tables.
 void setRouteTableIds(Collection<String> routeTableIds)
          One or more route table IDs.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeRouteTablesRequest withFilters(Collection<Filter> filters)
          A list of filters used to match properties for Route Tables.
 DescribeRouteTablesRequest withFilters(Filter... filters)
          A list of filters used to match properties for Route Tables.
 DescribeRouteTablesRequest withRouteTableIds(Collection<String> routeTableIds)
          One or more route table IDs.
 DescribeRouteTablesRequest withRouteTableIds(String... routeTableIds)
          One or more route table IDs.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeRouteTablesRequest

public DescribeRouteTablesRequest()
Method Detail

getRouteTableIds

public List<String> getRouteTableIds()
One or more route table IDs.

Returns:
One or more route table IDs.

setRouteTableIds

public void setRouteTableIds(Collection<String> routeTableIds)
One or more route table IDs.

Parameters:
routeTableIds - One or more route table IDs.

withRouteTableIds

public DescribeRouteTablesRequest withRouteTableIds(String... routeTableIds)
One or more route table IDs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
routeTableIds - One or more route table IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

withRouteTableIds

public DescribeRouteTablesRequest withRouteTableIds(Collection<String> routeTableIds)
One or more route table IDs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
routeTableIds - One or more route table IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

getFilters

public List<Filter> getFilters()
A list of filters used to match properties for Route Tables. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns:
A list of filters used to match properties for Route Tables. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

setFilters

public void setFilters(Collection<Filter> filters)
A list of filters used to match properties for Route Tables. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Parameters:
filters - A list of filters used to match properties for Route Tables. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

withFilters

public DescribeRouteTablesRequest withFilters(Filter... filters)
A list of filters used to match properties for Route Tables. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns a reference to this object so that method calls can be chained together.

Parameters:
filters - A list of filters used to match properties for Route Tables. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribeRouteTablesRequest withFilters(Collection<Filter> filters)
A list of filters used to match properties for Route Tables. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns a reference to this object so that method calls can be chained together.

Parameters:
filters - A list of filters used to match properties for Route Tables. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.