类 AlertRecordModel
- java.lang.Object
-
- com.baidubce.services.cnap.model.monitoring.AlertRecordModel
-
public class AlertRecordModel extends Object
The model for alert record.
-
-
构造器概要
构造器 构造器 说明 AlertRecordModel()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAlertRuleID()StringgetAlertRuleName()AlertContactsgetContacts()StringgetDescription()StringgetDuration()DategetEndsAt()ObjectgetLabels()DategetNotifiedAt()StringgetOp()StringgetPromql()StringgetRepeatInterval()StringgetResourceID()DategetStartsAt()StringgetStatus()intgetThreshold()voidsetAlertRuleID(String alertRuleID)voidsetAlertRuleName(String alertRuleName)voidsetContacts(AlertContacts contacts)voidsetDescription(String description)voidsetDuration(String duration)voidsetEndsAt(Date endsAt)voidsetLabels(Object labels)voidsetNotifiedAt(Date notifiedAt)voidsetOp(String op)voidsetPromql(String promql)voidsetRepeatInterval(String repeatInterval)voidsetResourceID(String resourceID)voidsetStartsAt(Date startsAt)voidsetStatus(String status)voidsetThreshold(int threshold)
-
-
-
方法详细资料
-
getAlertRuleID
public String getAlertRuleID()
-
setAlertRuleID
public void setAlertRuleID(String alertRuleID)
-
getAlertRuleName
public String getAlertRuleName()
-
setAlertRuleName
public void setAlertRuleName(String alertRuleName)
-
getStartsAt
public Date getStartsAt()
-
setStartsAt
public void setStartsAt(Date startsAt)
-
getEndsAt
public Date getEndsAt()
-
setEndsAt
public void setEndsAt(Date endsAt)
-
getNotifiedAt
public Date getNotifiedAt()
-
setNotifiedAt
public void setNotifiedAt(Date notifiedAt)
-
getResourceID
public String getResourceID()
-
setResourceID
public void setResourceID(String resourceID)
-
getThreshold
public int getThreshold()
-
setThreshold
public void setThreshold(int threshold)
-
getStatus
public String getStatus()
-
setStatus
public void setStatus(String status)
-
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)
-
-