Class ModifyAlarmPolicyNoticeRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.ModifyAlarmPolicyNoticeRequest
-
public class ModifyAlarmPolicyNoticeRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlarmHierarchicalNotice[]getHierarchicalNotices()Get 告警分级通知规则配置StringgetModule()Get 模块名,这里填“monitor”。String[]getNoticeIds()Get 告警通知模板 ID 列表。StringgetPolicyId()Get 告警策略 ID,如果该参数与PolicyIds参数同时存在,则以PolicyIds为准。String[]getPolicyIds()Get 告警策略ID数组,支持给多个告警策略批量绑定通知模板。最多30个。voidsetHierarchicalNotices(AlarmHierarchicalNotice[] HierarchicalNotices)Set 告警分级通知规则配置voidsetModule(String Module)Set 模块名,这里填“monitor”。voidsetNoticeIds(String[] NoticeIds)Set 告警通知模板 ID 列表。voidsetPolicyId(String PolicyId)Set 告警策略 ID,如果该参数与PolicyIds参数同时存在,则以PolicyIds为准。voidsetPolicyIds(String[] PolicyIds)Set 告警策略ID数组,支持给多个告警策略批量绑定通知模板。最多30个。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
-
ModifyAlarmPolicyNoticeRequest
public ModifyAlarmPolicyNoticeRequest()
-
ModifyAlarmPolicyNoticeRequest
public 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.
-
-
Method Detail
-
getModule
public String getModule()
Get 模块名,这里填“monitor”。- Returns:
- Module 模块名,这里填“monitor”。
-
setModule
public void setModule(String Module)
Set 模块名,这里填“monitor”。- Parameters:
Module- 模块名,这里填“monitor”。
-
getPolicyId
public String getPolicyId()
Get 告警策略 ID,如果该参数与PolicyIds参数同时存在,则以PolicyIds为准。- Returns:
- PolicyId 告警策略 ID,如果该参数与PolicyIds参数同时存在,则以PolicyIds为准。
-
setPolicyId
public void setPolicyId(String PolicyId)
Set 告警策略 ID,如果该参数与PolicyIds参数同时存在,则以PolicyIds为准。- Parameters:
PolicyId- 告警策略 ID,如果该参数与PolicyIds参数同时存在,则以PolicyIds为准。
-
getNoticeIds
public String[] getNoticeIds()
Get 告警通知模板 ID 列表。- Returns:
- NoticeIds 告警通知模板 ID 列表。
-
setNoticeIds
public void setNoticeIds(String[] NoticeIds)
Set 告警通知模板 ID 列表。- Parameters:
NoticeIds- 告警通知模板 ID 列表。
-
getPolicyIds
public String[] getPolicyIds()
Get 告警策略ID数组,支持给多个告警策略批量绑定通知模板。最多30个。- Returns:
- PolicyIds 告警策略ID数组,支持给多个告警策略批量绑定通知模板。最多30个。
-
setPolicyIds
public void setPolicyIds(String[] PolicyIds)
Set 告警策略ID数组,支持给多个告警策略批量绑定通知模板。最多30个。- Parameters:
PolicyIds- 告警策略ID数组,支持给多个告警策略批量绑定通知模板。最多30个。
-
getHierarchicalNotices
public AlarmHierarchicalNotice[] getHierarchicalNotices()
Get 告警分级通知规则配置- Returns:
- HierarchicalNotices 告警分级通知规则配置
-
setHierarchicalNotices
public void setHierarchicalNotices(AlarmHierarchicalNotice[] HierarchicalNotices)
Set 告警分级通知规则配置- Parameters:
HierarchicalNotices- 告警分级通知规则配置
-
-