public class UpdateAlertRulesRequest extends AbstractBceRequest
| Constructor and Description |
|---|
UpdateAlertRulesRequest() |
getRequestCredentials, setRequestCredentialspublic String getAlertRuleID()
public void setAlertRuleID(String alertRuleID)
public String getDuration()
public void setDuration(String duration)
public String getPromql()
public void setPromql(String promql)
public String getOp()
public void setOp(String op)
public String getRepeatInterval()
public void setRepeatInterval(String repeatInterval)
public AlertContacts getContacts()
public void setContacts(AlertContacts contacts)
public Object getLabels()
public void setLabels(Object labels)
public String getDescription()
public void setDescription(String description)
public int getThreshold()
public void setThreshold(int threshold)
public UpdateAlertRulesRequest withAlertRuleID(String alertRuleID)
public UpdateAlertRulesRequest withDuration(String duration)
public UpdateAlertRulesRequest withPromql(String promql)
public UpdateAlertRulesRequest withOp(String op)
public UpdateAlertRulesRequest withRepeatInterval(String repeatInterval)
public UpdateAlertRulesRequest withContacts(AlertContacts alertContacts)
public UpdateAlertRulesRequest withLabels(Object labels)
public UpdateAlertRulesRequest withDescription(String description)
public UpdateAlertRulesRequest withThreshold(int threshold)
public UpdateAlertRulesRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2024. All rights reserved.