类 UpdateAlertRulesRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.cnap.model.monitoring.UpdateAlertRulesRequest
-
public class UpdateAlertRulesRequest extends AbstractBceRequest
-
-
构造器概要
构造器 构造器 说明 UpdateAlertRulesRequest()
-
方法概要
-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getAlertRuleID
public String getAlertRuleID()
-
setAlertRuleID
public void setAlertRuleID(String alertRuleID)
-
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)
-
withAlertRuleID
public UpdateAlertRulesRequest withAlertRuleID(String alertRuleID)
-
withDuration
public UpdateAlertRulesRequest withDuration(String duration)
-
withPromql
public UpdateAlertRulesRequest withPromql(String promql)
-
withOp
public UpdateAlertRulesRequest withOp(String op)
-
withRepeatInterval
public UpdateAlertRulesRequest withRepeatInterval(String repeatInterval)
-
withContacts
public UpdateAlertRulesRequest withContacts(AlertContacts alertContacts)
-
withLabels
public UpdateAlertRulesRequest withLabels(Object labels)
-
withDescription
public UpdateAlertRulesRequest withDescription(String description)
-
withThreshold
public UpdateAlertRulesRequest withThreshold(int threshold)
-
withRequestCredentials
public UpdateAlertRulesRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- request with credentials.
-
-