@Generated(value="software.amazon.awssdk:codegen") public final class SearchTransitGatewayRoutesRequest extends Ec2Request implements ToCopyableBuilder<SearchTransitGatewayRoutesRequest.Builder,SearchTransitGatewayRoutesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SearchTransitGatewayRoutesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SearchTransitGatewayRoutesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<Filter> |
filters()
One or more filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFilters()
Returns true if the Filters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
Integer |
maxResults()
The maximum number of routes to return.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SearchTransitGatewayRoutesRequest.Builder> |
serializableBuilderClass() |
SearchTransitGatewayRoutesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transitGatewayRouteTableId()
The ID of the transit gateway route table.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String transitGatewayRouteTableId()
The ID of the transit gateway route table.
public final boolean hasFilters()
public final List<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).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFilters() to see if a value was sent in this field.
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 final Integer maxResults()
The maximum number of routes to return.
public SearchTransitGatewayRoutesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SearchTransitGatewayRoutesRequest.Builder,SearchTransitGatewayRoutesRequest>toBuilder in class Ec2Requestpublic static SearchTransitGatewayRoutesRequest.Builder builder()
public static Class<? extends SearchTransitGatewayRoutesRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.