Interface NetworkRoute.Builder

    • Method Detail

      • 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

        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.
      • 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

        NetworkRoute.Builder state​(String 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:
        RouteState, RouteState
      • state

        NetworkRoute.Builder state​(RouteState 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:
        RouteState, RouteState
      • type

        NetworkRoute.Builder type​(String type)

        The route type. The possible values are propagated and static.

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

        NetworkRoute.Builder type​(RouteType type)

        The route type. The possible values are propagated and static.

        Parameters:
        type - The route type. The possible values are propagated and static.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RouteType, RouteType