Class MetricChartAlert


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-11-29T14:06:19.149-08:00")
    public class MetricChartAlert
    extends Object
    Thresholds associated with a metric
    • Constructor Detail

      • MetricChartAlert

        public MetricChartAlert()
    • Method Detail

      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object