Interface NetworkPathComponent.Builder

  • Method Details

    • componentId

      NetworkPathComponent.Builder componentId(String componentId)

      The identifier of a component in the network path.

      Length Constraints: Minimum of 1. Maximum of 32.

      Parameters:
      componentId - The identifier of a component in the network path.

      Length Constraints: Minimum of 1. Maximum of 32.

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

      NetworkPathComponent.Builder componentType(String componentType)

      The type of component.

      Length Constraints: Minimum of 1. Maximum of 32.

      Parameters:
      componentType - The type of component.

      Length Constraints: Minimum of 1. Maximum of 32.

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

      Information about the component that comes after the current component in the network path.

      Parameters:
      egress - Information about the component that comes after the current component in the network path.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • egress

      Information about the component that comes after the current component in the network path.

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

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

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

      Information about the component that comes before the current node in the network path.

      Parameters:
      ingress - Information about the component that comes before the current node in the network path.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ingress

      Information about the component that comes before the current node in the network path.

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

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

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