Class AlertCondition

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:28.348-07:00") public class AlertCondition extends Object
Alert condition
  • Constructor Details

    • AlertCondition

      public AlertCondition()
  • Method Details

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