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 Details

    • 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 the RouteTableIdentifier.Builder avoiding the need to create one manually via RouteTableIdentifier.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to routeTableIdentifier(RouteTableIdentifier).

      Parameters:
      routeTableIdentifier - a consumer that will call methods on RouteTableIdentifier.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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

      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

      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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.