Interface SloErrorBudgetCondition.Builder

  • Method Details

    • warningThreshold

      SloErrorBudgetCondition.Builder warningThreshold(Double warningThreshold)

      The alert is WARNING when the consumed ratio reaches or exceeds this value. Greater than 0 and at most 1.

      Parameters:
      warningThreshold - The alert is WARNING when the consumed ratio reaches or exceeds this value. Greater than 0 and at most 1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • criticalThreshold

      SloErrorBudgetCondition.Builder criticalThreshold(Double criticalThreshold)

      The alert is CRITICAL when the consumed ratio reaches or exceeds this value. Greater than 0 and at most 1, and greater than warningThreshold when both are set.

      Parameters:
      criticalThreshold - The alert is CRITICAL when the consumed ratio reaches or exceeds this value. Greater than 0 and at most 1, and greater than warningThreshold when both are set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.