Interface GetNetworkRoutesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetNetworkRoutesRequest.Builder,GetNetworkRoutesRequest>,NetworkManagerRequest.Builder,SdkBuilder<GetNetworkRoutesRequest.Builder,GetNetworkRoutesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetNetworkRoutesRequest
public static interface GetNetworkRoutesRequest.Builder extends NetworkManagerRequest.Builder, SdkPojo, CopyableBuilder<GetNetworkRoutesRequest.Builder,GetNetworkRoutesRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
globalNetworkId
GetNetworkRoutesRequest.Builder globalNetworkId(String globalNetworkId)
The ID of the global network.
- Parameters:
globalNetworkId- The ID of the global network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableIdentifier
GetNetworkRoutesRequest.Builder routeTableIdentifier(RouteTableIdentifier routeTableIdentifier)
The ID of the route table.
- Parameters:
routeTableIdentifier- The ID of the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableIdentifier
default GetNetworkRoutesRequest.Builder routeTableIdentifier(Consumer<RouteTableIdentifier.Builder> routeTableIdentifier)
The ID of the route table.
This is a convenience method that creates an instance of theRouteTableIdentifier.Builderavoiding the need to create one manually viaRouteTableIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torouteTableIdentifier(RouteTableIdentifier).- Parameters:
routeTableIdentifier- a consumer that will call methods onRouteTableIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
routeTableIdentifier(RouteTableIdentifier)
-
exactCidrMatches
GetNetworkRoutesRequest.Builder exactCidrMatches(Collection<String> exactCidrMatches)
An exact CIDR block.
- Parameters:
exactCidrMatches- An exact CIDR block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exactCidrMatches
GetNetworkRoutesRequest.Builder exactCidrMatches(String... exactCidrMatches)
An exact CIDR block.
- Parameters:
exactCidrMatches- An exact CIDR block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
longestPrefixMatches
GetNetworkRoutesRequest.Builder longestPrefixMatches(Collection<String> longestPrefixMatches)
The most specific route that matches the traffic (longest prefix match).
- Parameters:
longestPrefixMatches- The most specific route that matches the traffic (longest prefix match).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
longestPrefixMatches
GetNetworkRoutesRequest.Builder longestPrefixMatches(String... longestPrefixMatches)
The most specific route that matches the traffic (longest prefix match).
- Parameters:
longestPrefixMatches- The most specific route that matches the traffic (longest prefix match).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetOfMatches
GetNetworkRoutesRequest.Builder subnetOfMatches(Collection<String> subnetOfMatches)
The routes with a subnet that match the specified CIDR filter.
- Parameters:
subnetOfMatches- The routes with a subnet that match the specified CIDR filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetOfMatches
GetNetworkRoutesRequest.Builder subnetOfMatches(String... subnetOfMatches)
The routes with a subnet that match the specified CIDR filter.
- Parameters:
subnetOfMatches- The routes with a subnet that match the specified CIDR filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supernetOfMatches
GetNetworkRoutesRequest.Builder supernetOfMatches(Collection<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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supernetOfMatches
GetNetworkRoutesRequest.Builder supernetOfMatches(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListIds
GetNetworkRoutesRequest.Builder prefixListIds(Collection<String> prefixListIds)
The IDs of the prefix lists.
- Parameters:
prefixListIds- The IDs of the prefix lists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListIds
GetNetworkRoutesRequest.Builder prefixListIds(String... prefixListIds)
The IDs of the prefix lists.
- Parameters:
prefixListIds- The IDs of the prefix lists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statesWithStrings
GetNetworkRoutesRequest.Builder statesWithStrings(Collection<String> states)
The route states.
- Parameters:
states- The route states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statesWithStrings
GetNetworkRoutesRequest.Builder statesWithStrings(String... states)
The route states.
- Parameters:
states- The route states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
states
GetNetworkRoutesRequest.Builder states(Collection<RouteState> states)
The route states.
- Parameters:
states- The route states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
states
GetNetworkRoutesRequest.Builder states(RouteState... states)
The route states.
- Parameters:
states- The route states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typesWithStrings
GetNetworkRoutesRequest.Builder typesWithStrings(Collection<String> types)
The route types.
- Parameters:
types- The route types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typesWithStrings
GetNetworkRoutesRequest.Builder typesWithStrings(String... types)
The route types.
- Parameters:
types- The route types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
types
GetNetworkRoutesRequest.Builder types(Collection<RouteType> types)
The route types.
- Parameters:
types- The route types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
types
GetNetworkRoutesRequest.Builder types(RouteType... types)
The route types.
- Parameters:
types- The route types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationFilters
GetNetworkRoutesRequest.Builder destinationFilters(Map<String,? extends Collection<String>> destinationFilters)
Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.
- Parameters:
destinationFilters- Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetNetworkRoutesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetNetworkRoutesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-