Interface NetworkPath.Builder

All Superinterfaces:
Buildable, CopyableBuilder<NetworkPath.Builder,NetworkPath>, SdkBuilder<NetworkPath.Builder,NetworkPath>, SdkPojo
Enclosing class:
NetworkPath

public static interface NetworkPath.Builder extends SdkPojo, CopyableBuilder<NetworkPath.Builder,NetworkPath>
  • Method Details

    • steps

      The details on the steps in the network path.

      Parameters:
      steps - The details on the steps in the network path.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • steps

      NetworkPath.Builder steps(Step... steps)

      The details on the steps in the network path.

      Parameters:
      steps - The details on the steps in the network path.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • steps

      The details on the steps in the network path.

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

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

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