Class ModifyAlarmNoticeRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.ModifyAlarmNoticeRequest
-
public class ModifyAlarmNoticeRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyAlarmNoticeRequest()ModifyAlarmNoticeRequest(ModifyAlarmNoticeRequest 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 CLSNotice[]getCLSNotices()Get 告警通知推送到CLS服务 最多1个StringgetModule()Get 模块名,这里填“monitor”StringgetName()Get 告警通知规则名称 60字符以内StringgetNoticeId()Get 告警通知模板 IDStringgetNoticeLanguage()Get 通知语言 zh-CN=中文 en-US=英文StringgetNoticeType()Get 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知String[]getPolicyIds()Get 告警通知模板绑定的告警策略ID列表URLNotice[]getURLNotices()Get 回调通知 最多3个UserNotice[]getUserNotices()Get 用户通知 最多5个voidsetCLSNotices(CLSNotice[] CLSNotices)Set 告警通知推送到CLS服务 最多1个voidsetModule(String Module)Set 模块名,这里填“monitor”voidsetName(String Name)Set 告警通知规则名称 60字符以内voidsetNoticeId(String NoticeId)Set 告警通知模板 IDvoidsetNoticeLanguage(String NoticeLanguage)Set 通知语言 zh-CN=中文 en-US=英文voidsetNoticeType(String NoticeType)Set 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知voidsetPolicyIds(String[] PolicyIds)Set 告警通知模板绑定的告警策略ID列表voidsetURLNotices(URLNotice[] URLNotices)Set 回调通知 最多3个voidsetUserNotices(UserNotice[] UserNotices)Set 用户通知 最多5个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
-
ModifyAlarmNoticeRequest
public ModifyAlarmNoticeRequest()
-
ModifyAlarmNoticeRequest
public ModifyAlarmNoticeRequest(ModifyAlarmNoticeRequest 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
-
getModule
public String getModule()
Get 模块名,这里填“monitor”- Returns:
- Module 模块名,这里填“monitor”
-
setModule
public void setModule(String Module)
Set 模块名,这里填“monitor”- Parameters:
Module- 模块名,这里填“monitor”
-
getName
public String getName()
Get 告警通知规则名称 60字符以内- Returns:
- Name 告警通知规则名称 60字符以内
-
setName
public void setName(String Name)
Set 告警通知规则名称 60字符以内- Parameters:
Name- 告警通知规则名称 60字符以内
-
getNoticeType
public String getNoticeType()
Get 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知- Returns:
- NoticeType 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知
-
setNoticeType
public void setNoticeType(String NoticeType)
Set 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知- Parameters:
NoticeType- 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知
-
getNoticeLanguage
public String getNoticeLanguage()
Get 通知语言 zh-CN=中文 en-US=英文- Returns:
- NoticeLanguage 通知语言 zh-CN=中文 en-US=英文
-
setNoticeLanguage
public void setNoticeLanguage(String NoticeLanguage)
Set 通知语言 zh-CN=中文 en-US=英文- Parameters:
NoticeLanguage- 通知语言 zh-CN=中文 en-US=英文
-
getNoticeId
public String getNoticeId()
Get 告警通知模板 ID- Returns:
- NoticeId 告警通知模板 ID
-
setNoticeId
public void setNoticeId(String NoticeId)
Set 告警通知模板 ID- Parameters:
NoticeId- 告警通知模板 ID
-
getUserNotices
public UserNotice[] getUserNotices()
Get 用户通知 最多5个- Returns:
- UserNotices 用户通知 最多5个
-
setUserNotices
public void setUserNotices(UserNotice[] UserNotices)
Set 用户通知 最多5个- Parameters:
UserNotices- 用户通知 最多5个
-
getURLNotices
public URLNotice[] getURLNotices()
Get 回调通知 最多3个- Returns:
- URLNotices 回调通知 最多3个
-
setURLNotices
public void setURLNotices(URLNotice[] URLNotices)
Set 回调通知 最多3个- Parameters:
URLNotices- 回调通知 最多3个
-
getCLSNotices
public CLSNotice[] getCLSNotices()
Get 告警通知推送到CLS服务 最多1个- Returns:
- CLSNotices 告警通知推送到CLS服务 最多1个
-
setCLSNotices
public void setCLSNotices(CLSNotice[] CLSNotices)
Set 告警通知推送到CLS服务 最多1个- Parameters:
CLSNotices- 告警通知推送到CLS服务 最多1个
-
getPolicyIds
public String[] getPolicyIds()
Get 告警通知模板绑定的告警策略ID列表- Returns:
- PolicyIds 告警通知模板绑定的告警策略ID列表
-
setPolicyIds
public void setPolicyIds(String[] PolicyIds)
Set 告警通知模板绑定的告警策略ID列表- Parameters:
PolicyIds- 告警通知模板绑定的告警策略ID列表
-
-