Interface AlertCondition.Builder

  • Method Details

    • thresholdMode

      AlertCondition.Builder thresholdMode(String thresholdMode)

      How the threshold is applied to query results.

      Parameters:
      thresholdMode - How the threshold is applied to query results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • thresholdMode

      AlertCondition.Builder thresholdMode(ThresholdMode thresholdMode)

      How the threshold is applied to query results.

      Parameters:
      thresholdMode - How the threshold is applied to query results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • thresholdField

      AlertCondition.Builder thresholdField(String thresholdField)

      The field the threshold is evaluated against.

      Parameters:
      thresholdField - The field the threshold is evaluated against.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • comparator

      AlertCondition.Builder comparator(String comparator)

      The comparison operator applied to the threshold.

      Parameters:
      comparator - The comparison operator applied to the threshold.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • comparator

      AlertCondition.Builder comparator(Comparator comparator)

      The comparison operator applied to the threshold.

      Parameters:
      comparator - The comparison operator applied to the threshold.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • warningThreshold

      AlertCondition.Builder warningThreshold(Double warningThreshold)

      The value at which the alert enters the WARNING state.

      Parameters:
      warningThreshold - The value at which the alert enters the WARNING state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • criticalThreshold

      AlertCondition.Builder criticalThreshold(Double criticalThreshold)

      The value at which the alert enters the CRITICAL state.

      Parameters:
      criticalThreshold - The value at which the alert enters the CRITICAL state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.