Class AlertCondition


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:48.582-07:00")
    public class AlertCondition
    extends Object
    Alert condition
    • Constructor Detail

      • AlertCondition

        public AlertCondition()
    • Method Detail

      • getId

        public String getId()
        Getter for id. Id of the alert condition
      • setId

        public void setId​(String id)
        Setter for id. Id of the alert condition
      • getAlertOperator

        public String getAlertOperator()
        Getter for alertOperator. Operator for the condition
      • setAlertOperator

        public void setAlertOperator​(String alertOperator)
        Setter for alertOperator. Operator for the condition
      • getValue

        public Double getValue()
        Getter for value. Value used to for evaluation of this condition
      • setValue

        public void setValue​(Double value)
        Setter for value. Value used to for evaluation of this condition
      • getUnit

        public MetricUnit getUnit()
        Getter for unit. unit of measurement for the value
      • setUnit

        public void setUnit​(MetricUnit unit)
        Setter for unit. unit of measurement for the value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object