com.baidubce.services.cnap.model.monitoring
Class AlertRecordModel

java.lang.Object
  extended by com.baidubce.services.cnap.model.monitoring.AlertRecordModel

public class AlertRecordModel
extends Object

The model for alert record.


Constructor Summary
AlertRecordModel()
           
 
Method Summary
 String getAlertRuleID()
           
 String getAlertRuleName()
           
 AlertContacts getContacts()
           
 String getDescription()
           
 String getDuration()
           
 Date getEndsAt()
           
 Object getLabels()
           
 Date getNotifiedAt()
           
 String getOp()
           
 String getPromql()
           
 String getRepeatInterval()
           
 String getResourceID()
           
 Date getStartsAt()
           
 String getStatus()
           
 int getThreshold()
           
 void setAlertRuleID(String alertRuleID)
           
 void setAlertRuleName(String alertRuleName)
           
 void setContacts(AlertContacts contacts)
           
 void setDescription(String description)
           
 void setDuration(String duration)
           
 void setEndsAt(Date endsAt)
           
 void setLabels(Object labels)
           
 void setNotifiedAt(Date notifiedAt)
           
 void setOp(String op)
           
 void setPromql(String promql)
           
 void setRepeatInterval(String repeatInterval)
           
 void setResourceID(String resourceID)
           
 void setStartsAt(Date startsAt)
           
 void setStatus(String status)
           
 void setThreshold(int threshold)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertRecordModel

public AlertRecordModel()
Method Detail

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)


Copyright © 2020. All rights reserved.