类 CreateAlertRulesResponse
- java.lang.Object
-
- com.baidubce.model.AbstractBceResponse
-
- com.baidubce.services.cnap.model.monitoring.CreateAlertRulesResponse
-
- 所有已实现的接口:
Serializable
public class CreateAlertRulesResponse extends AbstractBceResponse
The response for create alert rules.- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 com.baidubce.model.AbstractBceResponse
metadata
-
-
构造器概要
构造器 构造器 说明 CreateAlertRulesResponse()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 AlertContactsgetContacts()StringgetDescription()StringgetDuration()ObjectgetLabels()StringgetName()StringgetOp()StringgetPromql()StringgetRepeatInterval()StringgetResourceID()intgetThreshold()voidsetContacts(AlertContacts contacts)voidsetDescription(String description)voidsetDuration(String duration)voidsetLabels(Object labels)voidsetName(String name)voidsetOp(String op)voidsetPromql(String promql)voidsetRepeatInterval(String repeatInterval)voidsetResourceID(String resourceID)voidsetThreshold(int threshold)-
从类继承的方法 com.baidubce.model.AbstractBceResponse
getMetadata
-
-
-
-
方法详细资料
-
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)
-
-