@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchTransitGatewayRoutesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<SearchTransitGatewayRoutesRequest>
NOOP
Constructor and Description |
---|
SearchTransitGatewayRoutesRequest() |
Modifier and Type | Method and Description |
---|---|
SearchTransitGatewayRoutesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<SearchTransitGatewayRoutesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
Integer |
getMaxResults()
The maximum number of routes to return.
|
String |
getTransitGatewayRouteTableId()
The ID of the transit gateway route table.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of routes to return.
|
void |
setTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
|
String |
toString()
Returns a string representation of this object.
|
SearchTransitGatewayRoutesRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
SearchTransitGatewayRoutesRequest |
withFilters(Filter... filters)
One or more filters.
|
SearchTransitGatewayRoutesRequest |
withMaxResults(Integer maxResults)
The maximum number of routes to return.
|
SearchTransitGatewayRoutesRequest |
withTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
transitGatewayRouteTableId
- The ID of the transit gateway route table.public String getTransitGatewayRouteTableId()
The ID of the transit gateway route table.
public SearchTransitGatewayRoutesRequest withTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
transitGatewayRouteTableId
- The ID of the transit gateway route table.public List<Filter> getFilters()
One or more filters. The possible values are:
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment.
attachment.resource-id
- The resource id of the transit gateway attachment.
attachment.resource-type
- The attachment resource type. Valid values are vpc
|
vpn
| direct-connect-gateway
| peering
| connect
.
prefix-list-id
- The ID of the prefix list.
route-search.exact-match
- The exact match of the specified filter.
route-search.longest-prefix-match
- The longest prefix that matches the route.
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter.
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For example,
if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as
10.0.1.0/30, then the result returns 10.0.1.0/29.
state
- The state of the route (active
| blackhole
).
type
- The type of route (propagated
| static
).
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment.
attachment.resource-id
- The resource id of the transit gateway attachment.
attachment.resource-type
- The attachment resource type. Valid values are vpc
|
vpn
| direct-connect-gateway
| peering
| connect
.
prefix-list-id
- The ID of the prefix list.
route-search.exact-match
- The exact match of the specified filter.
route-search.longest-prefix-match
- The longest prefix that matches the route.
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR
filter.
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For
example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify
supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29.
state
- The state of the route (active
| blackhole
).
type
- The type of route (propagated
| static
).
public void setFilters(Collection<Filter> filters)
One or more filters. The possible values are:
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment.
attachment.resource-id
- The resource id of the transit gateway attachment.
attachment.resource-type
- The attachment resource type. Valid values are vpc
|
vpn
| direct-connect-gateway
| peering
| connect
.
prefix-list-id
- The ID of the prefix list.
route-search.exact-match
- The exact match of the specified filter.
route-search.longest-prefix-match
- The longest prefix that matches the route.
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter.
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For example,
if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as
10.0.1.0/30, then the result returns 10.0.1.0/29.
state
- The state of the route (active
| blackhole
).
type
- The type of route (propagated
| static
).
filters
- One or more filters. The possible values are:
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment.
attachment.resource-id
- The resource id of the transit gateway attachment.
attachment.resource-type
- The attachment resource type. Valid values are vpc
|
vpn
| direct-connect-gateway
| peering
| connect
.
prefix-list-id
- The ID of the prefix list.
route-search.exact-match
- The exact match of the specified filter.
route-search.longest-prefix-match
- The longest prefix that matches the route.
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter.
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For
example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify
supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29.
state
- The state of the route (active
| blackhole
).
type
- The type of route (propagated
| static
).
public SearchTransitGatewayRoutesRequest withFilters(Filter... filters)
One or more filters. The possible values are:
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment.
attachment.resource-id
- The resource id of the transit gateway attachment.
attachment.resource-type
- The attachment resource type. Valid values are vpc
|
vpn
| direct-connect-gateway
| peering
| connect
.
prefix-list-id
- The ID of the prefix list.
route-search.exact-match
- The exact match of the specified filter.
route-search.longest-prefix-match
- The longest prefix that matches the route.
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter.
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For example,
if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as
10.0.1.0/30, then the result returns 10.0.1.0/29.
state
- The state of the route (active
| blackhole
).
type
- The type of route (propagated
| static
).
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- One or more filters. The possible values are:
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment.
attachment.resource-id
- The resource id of the transit gateway attachment.
attachment.resource-type
- The attachment resource type. Valid values are vpc
|
vpn
| direct-connect-gateway
| peering
| connect
.
prefix-list-id
- The ID of the prefix list.
route-search.exact-match
- The exact match of the specified filter.
route-search.longest-prefix-match
- The longest prefix that matches the route.
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter.
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For
example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify
supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29.
state
- The state of the route (active
| blackhole
).
type
- The type of route (propagated
| static
).
public SearchTransitGatewayRoutesRequest withFilters(Collection<Filter> filters)
One or more filters. The possible values are:
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment.
attachment.resource-id
- The resource id of the transit gateway attachment.
attachment.resource-type
- The attachment resource type. Valid values are vpc
|
vpn
| direct-connect-gateway
| peering
| connect
.
prefix-list-id
- The ID of the prefix list.
route-search.exact-match
- The exact match of the specified filter.
route-search.longest-prefix-match
- The longest prefix that matches the route.
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter.
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For example,
if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as
10.0.1.0/30, then the result returns 10.0.1.0/29.
state
- The state of the route (active
| blackhole
).
type
- The type of route (propagated
| static
).
filters
- One or more filters. The possible values are:
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment.
attachment.resource-id
- The resource id of the transit gateway attachment.
attachment.resource-type
- The attachment resource type. Valid values are vpc
|
vpn
| direct-connect-gateway
| peering
| connect
.
prefix-list-id
- The ID of the prefix list.
route-search.exact-match
- The exact match of the specified filter.
route-search.longest-prefix-match
- The longest prefix that matches the route.
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter.
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For
example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify
supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29.
state
- The state of the route (active
| blackhole
).
type
- The type of route (propagated
| static
).
public void setMaxResults(Integer maxResults)
The maximum number of routes to return. If a value is not provided, the default is 1000.
maxResults
- The maximum number of routes to return. If a value is not provided, the default is 1000.public Integer getMaxResults()
The maximum number of routes to return. If a value is not provided, the default is 1000.
public SearchTransitGatewayRoutesRequest withMaxResults(Integer maxResults)
The maximum number of routes to return. If a value is not provided, the default is 1000.
maxResults
- The maximum number of routes to return. If a value is not provided, the default is 1000.public Request<SearchTransitGatewayRoutesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<SearchTransitGatewayRoutesRequest>
public String toString()
toString
in class Object
Object.toString()
public SearchTransitGatewayRoutesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()