public class ModifyAlarmNoticeRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
CLSNotice[] |
getCLSNotices()
Get 告警通知推送到CLS服务 最多1个
|
String |
getModule()
Get 模块名,这里填“monitor”
|
String |
getName()
Get 告警通知规则名称 60字符以内
|
String |
getNoticeId()
Get 告警通知模板 ID
|
String |
getNoticeLanguage()
Get 通知语言 zh-CN=中文 en-US=英文
|
String |
getNoticeType()
Get 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知
|
String[] |
getPolicyIds()
Get 告警通知模板绑定的告警策略ID列表
|
URLNotice[] |
getURLNotices()
Get 回调通知 最多3个
|
UserNotice[] |
getUserNotices()
Get 用户通知 最多5个
|
void |
setCLSNotices(CLSNotice[] CLSNotices)
Set 告警通知推送到CLS服务 最多1个
|
void |
setModule(String Module)
Set 模块名,这里填“monitor”
|
void |
setName(String Name)
Set 告警通知规则名称 60字符以内
|
void |
setNoticeId(String NoticeId)
Set 告警通知模板 ID
|
void |
setNoticeLanguage(String NoticeLanguage)
Set 通知语言 zh-CN=中文 en-US=英文
|
void |
setNoticeType(String NoticeType)
Set 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知
|
void |
setPolicyIds(String[] PolicyIds)
Set 告警通知模板绑定的告警策略ID列表
|
void |
setURLNotices(URLNotice[] URLNotices)
Set 回调通知 最多3个
|
void |
setUserNotices(UserNotice[] UserNotices)
Set 用户通知 最多5个
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyAlarmNoticeRequest()
public ModifyAlarmNoticeRequest(ModifyAlarmNoticeRequest source)
public String getModule()
public void setModule(String Module)
Module
- 模块名,这里填“monitor”public String getName()
public void setName(String Name)
Name
- 告警通知规则名称 60字符以内public String getNoticeType()
public void setNoticeType(String NoticeType)
NoticeType
- 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知public String getNoticeLanguage()
public void setNoticeLanguage(String NoticeLanguage)
NoticeLanguage
- 通知语言 zh-CN=中文 en-US=英文public String getNoticeId()
public void setNoticeId(String NoticeId)
NoticeId
- 告警通知模板 IDpublic UserNotice[] getUserNotices()
public void setUserNotices(UserNotice[] UserNotices)
UserNotices
- 用户通知 最多5个public URLNotice[] getURLNotices()
public void setURLNotices(URLNotice[] URLNotices)
URLNotices
- 回调通知 最多3个public CLSNotice[] getCLSNotices()
public void setCLSNotices(CLSNotice[] CLSNotices)
CLSNotices
- 告警通知推送到CLS服务 最多1个public String[] getPolicyIds()
public void setPolicyIds(String[] PolicyIds)
PolicyIds
- 告警通知模板绑定的告警策略ID列表Copyright © 2023. All rights reserved.