com.baidubce.services.cnap.model.monitoring
Class AlertRulesModel
java.lang.Object
com.baidubce.services.cnap.model.monitoring.AlertRulesModel
public class AlertRulesModel
- extends Object
The model for alert rules.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlertRulesModel
public AlertRulesModel()
getResourceID
public String getResourceID()
setResourceID
public void setResourceID(String resourceID)
getName
public String getName()
setName
public void setName(String name)
getDuration
public String getDuration()
setDuration
public void setDuration(String duration)
getPromql
public String getPromql()
setPromql
public void setPromql(String promql)
getOp
public String getOp()
setOp
public void setOp(String op)
getRepeatInterval
public String getRepeatInterval()
setRepeatInterval
public void setRepeatInterval(String repeatInterval)
getContacts
public AlertContacts getContacts()
setContacts
public void setContacts(AlertContacts contacts)
getLabels
public Object getLabels()
setLabels
public void setLabels(Object labels)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getThreshold
public int getThreshold()
setThreshold
public void setThreshold(int threshold)
Copyright © 2020. All rights reserved.