Class AlertCondition


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-11-29T14:06:19.149-08: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