Class ModifyAlarmRuleRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.wedata.v20210820.models.ModifyAlarmRuleRequest
-
public class ModifyAlarmRuleRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyAlarmRuleRequest()ModifyAlarmRuleRequest(ModifyAlarmRuleRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlarmId()Get 告警idLonggetAlarmLevel()Get 告警级别,1.普通、2.重要、3.紧急(默认1.普通)String[]getAlarmRecipientIds()Get 告警接收人IDString[]getAlarmRecipients()Get 告警接收人LonggetAlarmRecipientType()Get 告警接收人类型:1.指定人员,2.任务责任人,3.值班表(默认1.指定人员)String[]getAlarmTypes()Get 告警类型,1.失败告警、2.超时告警、3.成功告警、4.基线破线、5.基线预警、6.基线任务失败(默认1.失败告警)String[]getAlarmWays()Get 告警方式,1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群;告警方式code列表(默认1.邮件)StringgetExtInfo()Get 扩展信息, 1.预计运行耗时(默认),2.预计完成时间,3.预计调度时间,4.周期内未完成;取值类型:1.指定指,2.历史均值(默认1.指定指)String[]getMonitorObjectIds()Get 监控对象LonggetMonitorType()Get 监控类型,1.task、2.workflow、3.project、4.baseline(默认为1.任务)StringgetRuleName()Get 规则名字voidsetAlarmId(String AlarmId)Set 告警idvoidsetAlarmLevel(Long AlarmLevel)Set 告警级别,1.普通、2.重要、3.紧急(默认1.普通)voidsetAlarmRecipientIds(String[] AlarmRecipientIds)Set 告警接收人IDvoidsetAlarmRecipients(String[] AlarmRecipients)Set 告警接收人voidsetAlarmRecipientType(Long AlarmRecipientType)Set 告警接收人类型:1.指定人员,2.任务责任人,3.值班表(默认1.指定人员)voidsetAlarmTypes(String[] AlarmTypes)Set 告警类型,1.失败告警、2.超时告警、3.成功告警、4.基线破线、5.基线预警、6.基线任务失败(默认1.失败告警)voidsetAlarmWays(String[] AlarmWays)Set 告警方式,1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群;告警方式code列表(默认1.邮件)voidsetExtInfo(String ExtInfo)Set 扩展信息, 1.预计运行耗时(默认),2.预计完成时间,3.预计调度时间,4.周期内未完成;取值类型:1.指定指,2.历史均值(默认1.指定指)voidsetMonitorObjectIds(String[] MonitorObjectIds)Set 监控对象voidsetMonitorType(Long MonitorType)Set 监控类型,1.task、2.workflow、3.project、4.baseline(默认为1.任务)voidsetRuleName(String RuleName)Set 规则名字voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ModifyAlarmRuleRequest
public ModifyAlarmRuleRequest()
-
ModifyAlarmRuleRequest
public ModifyAlarmRuleRequest(ModifyAlarmRuleRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getAlarmId
public String getAlarmId()
Get 告警id- Returns:
- AlarmId 告警id
-
setAlarmId
public void setAlarmId(String AlarmId)
Set 告警id- Parameters:
AlarmId- 告警id
-
getRuleName
public String getRuleName()
Get 规则名字- Returns:
- RuleName 规则名字
-
setRuleName
public void setRuleName(String RuleName)
Set 规则名字- Parameters:
RuleName- 规则名字
-
getMonitorType
public Long getMonitorType()
Get 监控类型,1.task、2.workflow、3.project、4.baseline(默认为1.任务)- Returns:
- MonitorType 监控类型,1.task、2.workflow、3.project、4.baseline(默认为1.任务)
-
setMonitorType
public void setMonitorType(Long MonitorType)
Set 监控类型,1.task、2.workflow、3.project、4.baseline(默认为1.任务)- Parameters:
MonitorType- 监控类型,1.task、2.workflow、3.project、4.baseline(默认为1.任务)
-
getMonitorObjectIds
public String[] getMonitorObjectIds()
Get 监控对象- Returns:
- MonitorObjectIds 监控对象
-
setMonitorObjectIds
public void setMonitorObjectIds(String[] MonitorObjectIds)
Set 监控对象- Parameters:
MonitorObjectIds- 监控对象
-
getAlarmTypes
public String[] getAlarmTypes()
Get 告警类型,1.失败告警、2.超时告警、3.成功告警、4.基线破线、5.基线预警、6.基线任务失败(默认1.失败告警)- Returns:
- AlarmTypes 告警类型,1.失败告警、2.超时告警、3.成功告警、4.基线破线、5.基线预警、6.基线任务失败(默认1.失败告警)
-
setAlarmTypes
public void setAlarmTypes(String[] AlarmTypes)
Set 告警类型,1.失败告警、2.超时告警、3.成功告警、4.基线破线、5.基线预警、6.基线任务失败(默认1.失败告警)- Parameters:
AlarmTypes- 告警类型,1.失败告警、2.超时告警、3.成功告警、4.基线破线、5.基线预警、6.基线任务失败(默认1.失败告警)
-
getAlarmLevel
public Long getAlarmLevel()
Get 告警级别,1.普通、2.重要、3.紧急(默认1.普通)- Returns:
- AlarmLevel 告警级别,1.普通、2.重要、3.紧急(默认1.普通)
-
setAlarmLevel
public void setAlarmLevel(Long AlarmLevel)
Set 告警级别,1.普通、2.重要、3.紧急(默认1.普通)- Parameters:
AlarmLevel- 告警级别,1.普通、2.重要、3.紧急(默认1.普通)
-
getAlarmWays
public String[] getAlarmWays()
Get 告警方式,1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群;告警方式code列表(默认1.邮件)- Returns:
- AlarmWays 告警方式,1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群;告警方式code列表(默认1.邮件)
-
setAlarmWays
public void setAlarmWays(String[] AlarmWays)
Set 告警方式,1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群;告警方式code列表(默认1.邮件)- Parameters:
AlarmWays- 告警方式,1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群;告警方式code列表(默认1.邮件)
-
getAlarmRecipientType
public Long getAlarmRecipientType()
Get 告警接收人类型:1.指定人员,2.任务责任人,3.值班表(默认1.指定人员)- Returns:
- AlarmRecipientType 告警接收人类型:1.指定人员,2.任务责任人,3.值班表(默认1.指定人员)
-
setAlarmRecipientType
public void setAlarmRecipientType(Long AlarmRecipientType)
Set 告警接收人类型:1.指定人员,2.任务责任人,3.值班表(默认1.指定人员)- Parameters:
AlarmRecipientType- 告警接收人类型:1.指定人员,2.任务责任人,3.值班表(默认1.指定人员)
-
getAlarmRecipients
public String[] getAlarmRecipients()
Get 告警接收人- Returns:
- AlarmRecipients 告警接收人
-
setAlarmRecipients
public void setAlarmRecipients(String[] AlarmRecipients)
Set 告警接收人- Parameters:
AlarmRecipients- 告警接收人
-
getAlarmRecipientIds
public String[] getAlarmRecipientIds()
Get 告警接收人ID- Returns:
- AlarmRecipientIds 告警接收人ID
-
setAlarmRecipientIds
public void setAlarmRecipientIds(String[] AlarmRecipientIds)
Set 告警接收人ID- Parameters:
AlarmRecipientIds- 告警接收人ID
-
getExtInfo
public String getExtInfo()
Get 扩展信息, 1.预计运行耗时(默认),2.预计完成时间,3.预计调度时间,4.周期内未完成;取值类型:1.指定指,2.历史均值(默认1.指定指)- Returns:
- ExtInfo 扩展信息, 1.预计运行耗时(默认),2.预计完成时间,3.预计调度时间,4.周期内未完成;取值类型:1.指定指,2.历史均值(默认1.指定指)
-
setExtInfo
public void setExtInfo(String ExtInfo)
Set 扩展信息, 1.预计运行耗时(默认),2.预计完成时间,3.预计调度时间,4.周期内未完成;取值类型:1.指定指,2.历史均值(默认1.指定指)- Parameters:
ExtInfo- 扩展信息, 1.预计运行耗时(默认),2.预计完成时间,3.预计调度时间,4.周期内未完成;取值类型:1.指定指,2.历史均值(默认1.指定指)
-
-