Interface WeightedTarget.Builder

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

public static interface WeightedTarget.Builder extends SdkPojo, CopyableBuilder<WeightedTarget.Builder,WeightedTarget>
  • 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.