public class CreateAlarmNoticeRequest extends AbstractModel
| Constructor and Description | 
|---|
| CreateAlarmNoticeRequest() | 
| CreateAlarmNoticeRequest(CreateAlarmNoticeRequest 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 The operation of pushing alarm notifications to CLS. | 
| String | getModule()Get Module name. | 
| String | getName()Get Notification template name, which can contain up to 60 characters | 
| String | getNoticeLanguage()Get Notification language. | 
| String | getNoticeType()Get Notification type. | 
| Tag[] | getTags()Get Tags bound to a template | 
| URLNotice[] | getURLNotices()Get Callback notifications (up to 3) | 
| UserNotice[] | getUserNotices()Get User notifications (up to 5) | 
| void | setCLSNotices(CLSNotice[] CLSNotices)Set The operation of pushing alarm notifications to CLS. | 
| void | setModule(String Module)Set Module name. | 
| void | setName(String Name)Set Notification template name, which can contain up to 60 characters | 
| void | setNoticeLanguage(String NoticeLanguage)Set Notification language. | 
| void | setNoticeType(String NoticeType)Set Notification type. | 
| void | setTags(Tag[] Tags)Set Tags bound to a template | 
| void | setURLNotices(URLNotice[] URLNotices)Set Callback notifications (up to 3) | 
| void | setUserNotices(UserNotice[] UserNotices)Set User notifications (up to 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, toJsonStringpublic CreateAlarmNoticeRequest()
public CreateAlarmNoticeRequest(CreateAlarmNoticeRequest source)
public String getModule()
public void setModule(String Module)
Module - Module name. Enter "monitor" herepublic String getName()
public void setName(String Name)
Name - Notification template name, which can contain up to 60 characterspublic String getNoticeType()
public void setNoticeType(String NoticeType)
NoticeType - Notification type. Valid values: ALARM (for unresolved alarms), OK (for resolved alarms), ALL (for all alarms)public String getNoticeLanguage()
public void setNoticeLanguage(String NoticeLanguage)
NoticeLanguage - Notification language. Valid values: zh-CN (Chinese), en-US (English)public UserNotice[] getUserNotices()
public void setUserNotices(UserNotice[] UserNotices)
UserNotices - User notifications (up to 5)public URLNotice[] getURLNotices()
public void setURLNotices(URLNotice[] URLNotices)
URLNotices - Callback notifications (up to 3)public CLSNotice[] getCLSNotices()
public void setCLSNotices(CLSNotice[] CLSNotices)
CLSNotices - The operation of pushing alarm notifications to CLS. Up to one CLS log topic can be configured.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Tags bound to a templateCopyright © 2022. All rights reserved.