public class DescribeRouteTablesRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DescribeRouteTablesRequest>
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?\
.
Constructor and Description |
---|
DescribeRouteTablesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Request<DescribeRouteTablesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public List<String> getRouteTableIds()
public void setRouteTableIds(Collection<String> routeTableIds)
routeTableIds
- One or more route table IDs.public DescribeRouteTablesRequest withRouteTableIds(String... routeTableIds)
Returns a reference to this object so that method calls can be chained together.
routeTableIds
- One or more route table IDs.public DescribeRouteTablesRequest withRouteTableIds(Collection<String> routeTableIds)
Returns a reference to this object so that method calls can be chained together.
routeTableIds
- One or more route table IDs.public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
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.public DescribeRouteTablesRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
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.public DescribeRouteTablesRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
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.public Request<DescribeRouteTablesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeRouteTablesRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.