Interface ResourceWeight.Builder

  • Method Details

    • name

      The name of the resource (for example, cpu or memory).

      Parameters:
      name - The name of the resource (for example, cpu or memory).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • weight

      The weight assigned to the resource for scoring. Must be between 1 and 100.

      Parameters:
      weight - The weight assigned to the resource for scoring. Must be between 1 and 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.