public class ModifyAlarmPolicyNoticeRequest extends AbstractModel
Constructor and Description |
---|
ModifyAlarmPolicyNoticeRequest() |
ModifyAlarmPolicyNoticeRequest(ModifyAlarmPolicyNoticeRequest 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 |
---|---|
AlarmHierarchicalNotice[] |
getHierarchicalNotices()
Get Notification rules for different alarm levels
|
String |
getModule()
Get Module name, which is specified as `monitor`.
|
String[] |
getNoticeIds()
Get List of alarm notification template IDs.
|
String |
getPolicyId()
Get Alarm policy ID.
|
String[] |
getPolicyIds()
Get Alarm policy ID array, which can be used to associate notification templates with multiple alarm policies.
|
void |
setHierarchicalNotices(AlarmHierarchicalNotice[] HierarchicalNotices)
Set Notification rules for different alarm levels
|
void |
setModule(String Module)
Set Module name, which is specified as `monitor`.
|
void |
setNoticeIds(String[] NoticeIds)
Set List of alarm notification template IDs.
|
void |
setPolicyId(String PolicyId)
Set Alarm policy ID.
|
void |
setPolicyIds(String[] PolicyIds)
Set Alarm policy ID array, which can be used to associate notification templates with multiple alarm policies.
|
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 ModifyAlarmPolicyNoticeRequest()
public ModifyAlarmPolicyNoticeRequest(ModifyAlarmPolicyNoticeRequest source)
public String getModule()
public void setModule(String Module)
Module
- Module name, which is specified as `monitor`.public String getPolicyId()
public void setPolicyId(String PolicyId)
PolicyId
- Alarm policy ID. If both `PolicyIds` and this parameter are returned, only `PolicyIds` takes effect.public String[] getNoticeIds()
public void setNoticeIds(String[] NoticeIds)
NoticeIds
- List of alarm notification template IDs.public String[] getPolicyIds()
public void setPolicyIds(String[] PolicyIds)
PolicyIds
- Alarm policy ID array, which can be used to associate notification templates with multiple alarm policies. Max value: 30.public AlarmHierarchicalNotice[] getHierarchicalNotices()
public void setHierarchicalNotices(AlarmHierarchicalNotice[] HierarchicalNotices)
HierarchicalNotices
- Notification rules for different alarm levelsCopyright © 2023. All rights reserved.