Interface SloBurnRateCondition.Builder

  • Method Details

    • windowMinutes

      SloBurnRateCondition.Builder windowMinutes(Integer windowMinutes)

      The burn-rate window in multiples of 5 minutes, from 5 through 10080 (7 days).

      Parameters:
      windowMinutes - The burn-rate window in multiples of 5 minutes, from 5 through 10080 (7 days).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • shortWindowMinutes

      SloBurnRateCondition.Builder shortWindowMinutes(Integer shortWindowMinutes)

      The short window of a pair, in multiples of 5 minutes from 5 through 10080 and shorter than windowMinutes. Omit for a single window. Recommended pairs are 60/5, 360/30, 1440/60 and 4320/360.

      Parameters:
      shortWindowMinutes - The short window of a pair, in multiples of 5 minutes from 5 through 10080 and shorter than windowMinutes. Omit for a single window. Recommended pairs are 60/5, 360/30, 1440/60 and 4320/360.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • warningThreshold

      SloBurnRateCondition.Builder warningThreshold(Double warningThreshold)

      The alert is WARNING when the burn rate reaches or exceeds this multiple of the sustainable rate. Greater than 0.

      Parameters:
      warningThreshold - The alert is WARNING when the burn rate reaches or exceeds this multiple of the sustainable rate. Greater than 0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • criticalThreshold

      SloBurnRateCondition.Builder criticalThreshold(Double criticalThreshold)

      The alert is CRITICAL when the burn rate reaches or exceeds this multiple of the sustainable rate. Greater than 0, and greater than warningThreshold when both are set.

      Parameters:
      criticalThreshold - The alert is CRITICAL when the burn rate reaches or exceeds this multiple of the sustainable rate. Greater than 0, and greater than warningThreshold when both are set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.