Interface AsPathSegment.Builder

  • Method Details

    • pathType

      AsPathSegment.Builder pathType(String pathType)

      The type of the AS path segment.

      The valid values are seq (an ordered AS_SEQUENCE) and set (an unordered AS_SET).

      Parameters:
      pathType - The type of the AS path segment.

      The valid values are seq (an ordered AS_SEQUENCE) and set (an unordered AS_SET).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pathType

      AsPathSegment.Builder pathType(AsPathType pathType)

      The type of the AS path segment.

      The valid values are seq (an ordered AS_SEQUENCE) and set (an unordered AS_SET).

      Parameters:
      pathType - The type of the AS path segment.

      The valid values are seq (an ordered AS_SEQUENCE) and set (an unordered AS_SET).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • path

      The autonomous system (AS) numbers in the segment.

      Parameters:
      path - The autonomous system (AS) numbers in the segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • path

      AsPathSegment.Builder path(Long... path)

      The autonomous system (AS) numbers in the segment.

      Parameters:
      path - The autonomous system (AS) numbers in the segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.