Interface NetworkRoute.Builder

  • Method Details

    • destinationCidrBlock

      NetworkRoute.Builder destinationCidrBlock(String destinationCidrBlock)

      A unique identifier for the route, such as a CIDR block.

      Parameters:
      destinationCidrBlock - A unique identifier for the route, such as a CIDR block.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      The destinations.

      Parameters:
      destinations - The destinations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      NetworkRoute.Builder destinations(NetworkRouteDestination... destinations)

      The destinations.

      Parameters:
      destinations - The destinations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      The destinations.

      This is a convenience method that creates an instance of the NetworkRouteDestination.Builder avoiding the need to create one manually via NetworkRouteDestination.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to destinations(List<NetworkRouteDestination>).

      Parameters:
      destinations - a consumer that will call methods on NetworkRouteDestination.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • prefixListId

      NetworkRoute.Builder prefixListId(String prefixListId)

      The ID of the prefix list.

      Parameters:
      prefixListId - The ID of the prefix list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The route state. The possible values are active and blackhole.

      Parameters:
      state - The route state. The possible values are active and blackhole.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The route state. The possible values are active and blackhole.

      Parameters:
      state - The route state. The possible values are active and blackhole.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The route type. The possible values are PROPAGATED, STATIC, and SYSTEM . A SYSTEM route is installed by the core network for the NAT CIDR block of an attachment's NAT rule.

      Parameters:
      type - The route type. The possible values are PROPAGATED, STATIC, and SYSTEM. A SYSTEM route is installed by the core network for the NAT CIDR block of an attachment's NAT rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The route type. The possible values are PROPAGATED, STATIC, and SYSTEM . A SYSTEM route is installed by the core network for the NAT CIDR block of an attachment's NAT rule.

      Parameters:
      type - The route type. The possible values are PROPAGATED, STATIC, and SYSTEM. A SYSTEM route is installed by the core network for the NAT CIDR block of an attachment's NAT rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: