Interface WeightedTarget.Builder

  • Method Details

    • port

      The targeted port of the weighted object.

      Parameters:
      port - The targeted port of the weighted object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • virtualNode

      WeightedTarget.Builder virtualNode(String virtualNode)

      The virtual node to associate with the weighted target.

      Parameters:
      virtualNode - The virtual node to associate with the weighted target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • weight

      The relative weight of the weighted target.

      Parameters:
      weight - The relative weight of the weighted target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.