Interface GetNetworkRoutesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetNetworkRoutesRequest.Builder,,GetNetworkRoutesRequest> NetworkManagerRequest.Builder,SdkBuilder<GetNetworkRoutesRequest.Builder,,GetNetworkRoutesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetNetworkRoutesRequest
-
Method Summary
Modifier and TypeMethodDescriptiondestinationFilters(Map<String, ? extends Collection<String>> destinationFilters) Filter by route table destination.exactCidrMatches(String... exactCidrMatches) An exact CIDR block.exactCidrMatches(Collection<String> exactCidrMatches) An exact CIDR block.globalNetworkId(String globalNetworkId) The ID of the global network.longestPrefixMatches(String... longestPrefixMatches) The most specific route that matches the traffic (longest prefix match).longestPrefixMatches(Collection<String> longestPrefixMatches) The most specific route that matches the traffic (longest prefix match).overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.prefixListIds(String... prefixListIds) The IDs of the prefix lists.prefixListIds(Collection<String> prefixListIds) The IDs of the prefix lists.default GetNetworkRoutesRequest.BuilderrouteTableIdentifier(Consumer<RouteTableIdentifier.Builder> routeTableIdentifier) The ID of the route table.routeTableIdentifier(RouteTableIdentifier routeTableIdentifier) The ID of the route table.states(Collection<RouteState> states) The route states.states(RouteState... states) The route states.statesWithStrings(String... states) The route states.statesWithStrings(Collection<String> states) The route states.subnetOfMatches(String... subnetOfMatches) The routes with a subnet that match the specified CIDR filter.subnetOfMatches(Collection<String> subnetOfMatches) The routes with a subnet that match the specified CIDR filter.supernetOfMatches(String... supernetOfMatches) The routes with a CIDR that encompasses the CIDR filter.supernetOfMatches(Collection<String> supernetOfMatches) The routes with a CIDR that encompasses the CIDR filter.types(Collection<RouteType> types) The route types.The route types.typesWithStrings(String... types) The route types.typesWithStrings(Collection<String> types) The route types.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-
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
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
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
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
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
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
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
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
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
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
The route states.
- Parameters:
states- The route states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statesWithStrings
The route states.
- Parameters:
states- The route states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The route states.
- Parameters:
states- The route states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typesWithStrings
The route types.
- Parameters:
types- The route types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typesWithStrings
The route types.
- Parameters:
types- The route types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetNetworkRoutesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-