Class MetricChartAlert

java.lang.Object
com.cloudera.cdp.df.model.MetricChartAlert

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:28.348-07:00") public class MetricChartAlert extends Object
Thresholds associated with a metric
  • Constructor Details

    • MetricChartAlert

      public MetricChartAlert()
  • Method Details

    • getFrequencyTolerance

      public MetricChartFrequencyTolerance getFrequencyTolerance()
      Getter for frequencyTolerance. The unit of time controlling how long a metric value can persist outside its boundaries before an alert is generated
    • setFrequencyTolerance

      public void setFrequencyTolerance(MetricChartFrequencyTolerance frequencyTolerance)
      Setter for frequencyTolerance. The unit of time controlling how long a metric value can persist outside its boundaries before an alert is generated
    • getThresholdMoreThan

      public Double getThresholdMoreThan()
      Getter for thresholdMoreThan. The moreThan threshold for the alert
    • setThresholdMoreThan

      public void setThresholdMoreThan(Double thresholdMoreThan)
      Setter for thresholdMoreThan. The moreThan threshold for the alert
    • getThresholdLessThan

      public Double getThresholdLessThan()
      Getter for thresholdLessThan. The lessThan threshold for the alert
    • setThresholdLessThan

      public void setThresholdLessThan(Double thresholdLessThan)
      Setter for thresholdLessThan. The lessThan threshold for the alert
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object