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

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

public class UpdateAlertRulesRequest
extends AbstractBceRequest


Constructor Summary
UpdateAlertRulesRequest()
           
 
Method Summary
 String getAlertRuleID()
           
 AlertContacts getContacts()
           
 String getDescription()
           
 String getDuration()
           
 Object getLabels()
           
 String getOp()
           
 String getPromql()
           
 String getRepeatInterval()
           
 int getThreshold()
           
 void setAlertRuleID(String alertRuleID)
           
 void setContacts(AlertContacts contacts)
           
 void setDescription(String description)
           
 void setDuration(String duration)
           
 void setLabels(Object labels)
           
 void setOp(String op)
           
 void setPromql(String promql)
           
 void setRepeatInterval(String repeatInterval)
           
 void setThreshold(int threshold)
           
 UpdateAlertRulesRequest withAlertRuleID(String alertRuleID)
           
 UpdateAlertRulesRequest withContacts(AlertContacts alertContacts)
           
 UpdateAlertRulesRequest withDescription(String description)
           
 UpdateAlertRulesRequest withDuration(String duration)
           
 UpdateAlertRulesRequest withLabels(Object labels)
           
 UpdateAlertRulesRequest withOp(String op)
           
 UpdateAlertRulesRequest withPromql(String promql)
           
 UpdateAlertRulesRequest withRepeatInterval(String repeatInterval)
           
 UpdateAlertRulesRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 UpdateAlertRulesRequest withThreshold(int threshold)
           
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateAlertRulesRequest

public UpdateAlertRulesRequest()
Method Detail

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.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
request with credentials.


Copyright © 2020. All rights reserved.