@Generated(value="software.amazon.awssdk:codegen") public final class GetNetworkRoutesRequest extends NetworkManagerRequest implements ToCopyableBuilder<GetNetworkRoutesRequest.Builder,GetNetworkRoutesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetNetworkRoutesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetNetworkRoutesRequest.Builder |
builder() |
Map<String,List<String>> |
destinationFilters()
Filter by route table destination.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
exactCidrMatches()
An exact CIDR block.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
globalNetworkId()
The ID of the global network.
|
boolean |
hasDestinationFilters()
For responses, this returns true if the service returned a value for the DestinationFilters property.
|
boolean |
hasExactCidrMatches()
For responses, this returns true if the service returned a value for the ExactCidrMatches property.
|
int |
hashCode() |
boolean |
hasLongestPrefixMatches()
For responses, this returns true if the service returned a value for the LongestPrefixMatches property.
|
boolean |
hasPrefixListIds()
For responses, this returns true if the service returned a value for the PrefixListIds property.
|
boolean |
hasStates()
For responses, this returns true if the service returned a value for the States property.
|
boolean |
hasSubnetOfMatches()
For responses, this returns true if the service returned a value for the SubnetOfMatches property.
|
boolean |
hasSupernetOfMatches()
For responses, this returns true if the service returned a value for the SupernetOfMatches property.
|
boolean |
hasTypes()
For responses, this returns true if the service returned a value for the Types property.
|
List<String> |
longestPrefixMatches()
The most specific route that matches the traffic (longest prefix match).
|
List<String> |
prefixListIds()
The IDs of the prefix lists.
|
RouteTableIdentifier |
routeTableIdentifier()
The ID of the route table.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetNetworkRoutesRequest.Builder> |
serializableBuilderClass() |
List<RouteState> |
states()
The route states.
|
List<String> |
statesAsStrings()
The route states.
|
List<String> |
subnetOfMatches()
The routes with a subnet that match the specified CIDR filter.
|
List<String> |
supernetOfMatches()
The routes with a CIDR that encompasses the CIDR filter.
|
GetNetworkRoutesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<RouteType> |
types()
The route types.
|
List<String> |
typesAsStrings()
The route types.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String globalNetworkId()
The ID of the global network.
public final RouteTableIdentifier routeTableIdentifier()
The ID of the route table.
public final boolean hasExactCidrMatches()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> exactCidrMatches()
An exact CIDR block.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasExactCidrMatches() method.
public final boolean hasLongestPrefixMatches()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> longestPrefixMatches()
The most specific route that matches the traffic (longest prefix match).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLongestPrefixMatches() method.
public final boolean hasSubnetOfMatches()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> subnetOfMatches()
The routes with a subnet that match the specified CIDR filter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubnetOfMatches() method.
public final boolean hasSupernetOfMatches()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> supernetOfMatches()
The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupernetOfMatches() method.
public final boolean hasPrefixListIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> prefixListIds()
The IDs of the prefix lists.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPrefixListIds() method.
public final List<RouteState> states()
The route states.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStates() method.
public final boolean hasStates()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> statesAsStrings()
The route states.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStates() method.
public final List<RouteType> types()
The route types.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTypes() method.
public final boolean hasTypes()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<String> typesAsStrings()
The route types.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTypes() method.
public final boolean hasDestinationFilters()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,List<String>> destinationFilters()
Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDestinationFilters() method.
public GetNetworkRoutesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetNetworkRoutesRequest.Builder,GetNetworkRoutesRequest>toBuilder in class NetworkManagerRequestpublic static GetNetworkRoutesRequest.Builder builder()
public static Class<? extends GetNetworkRoutesRequest.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 © 2023. All rights reserved.