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

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

public class AlertRulesModel
extends Object

The model for alert rules.


Constructor Summary
AlertRulesModel()
           
 
Method Summary
 AlertContacts getContacts()
           
 String getDescription()
           
 String getDuration()
           
 Object getLabels()
           
 String getName()
           
 String getOp()
           
 String getPromql()
           
 String getRepeatInterval()
           
 String getResourceID()
           
 int getThreshold()
           
 void setContacts(AlertContacts contacts)
           
 void setDescription(String description)
           
 void setDuration(String duration)
           
 void setLabels(Object labels)
           
 void setName(String name)
           
 void setOp(String op)
           
 void setPromql(String promql)
           
 void setRepeatInterval(String repeatInterval)
           
 void setResourceID(String resourceID)
           
 void setThreshold(int threshold)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertRulesModel

public AlertRulesModel()
Method Detail

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.