Interface WeightedTarget.Builder

    • Method Detail

      • port

        WeightedTarget.Builder port​(Integer 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

        WeightedTarget.Builder weight​(Integer 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.