Class AlarmNotice
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.AlarmNotice
-
public class AlarmNotice extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AlarmNotice()AlarmNotice(AlarmNotice 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 StringgetAMPConsumerId()Get 后台 amp consumer id 注意:此字段可能返回 null,表示取不到有效值。CLSNotice[]getCLSNotices()Get 推送cls渠道 注意:此字段可能返回 null,表示取不到有效值。StringgetId()Get 告警通知模板 ID 注意:此字段可能返回 null,表示取不到有效值。LonggetIsPreset()Get 是否是系统预设通知模板 0=否 1=是 注意:此字段可能返回 null,表示取不到有效值。StringgetName()Get 告警通知模板名称 注意:此字段可能返回 null,表示取不到有效值。StringgetNoticeLanguage()Get 通知语言 zh-CN=中文 en-US=英文 注意:此字段可能返回 null,表示取不到有效值。StringgetNoticeType()Get 告警通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=全部通知 注意:此字段可能返回 null,表示取不到有效值。String[]getPolicyIds()Get 告警通知模板绑定的告警策略ID列表 注意:此字段可能返回 null,表示取不到有效值。Tag[]getTags()Get 通知模板绑定的标签 注意:此字段可能返回 null,表示取不到有效值。StringgetUpdatedAt()Get 上次修改时间 注意:此字段可能返回 null,表示取不到有效值。StringgetUpdatedBy()Get 上次修改人 注意:此字段可能返回 null,表示取不到有效值。URLNotice[]getURLNotices()Get 回调通知列表 注意:此字段可能返回 null,表示取不到有效值。UserNotice[]getUserNotices()Get 用户通知列表 注意:此字段可能返回 null,表示取不到有效值。voidsetAMPConsumerId(String AMPConsumerId)Set 后台 amp consumer id 注意:此字段可能返回 null,表示取不到有效值。voidsetCLSNotices(CLSNotice[] CLSNotices)Set 推送cls渠道 注意:此字段可能返回 null,表示取不到有效值。voidsetId(String Id)Set 告警通知模板 ID 注意:此字段可能返回 null,表示取不到有效值。voidsetIsPreset(Long IsPreset)Set 是否是系统预设通知模板 0=否 1=是 注意:此字段可能返回 null,表示取不到有效值。voidsetName(String Name)Set 告警通知模板名称 注意:此字段可能返回 null,表示取不到有效值。voidsetNoticeLanguage(String NoticeLanguage)Set 通知语言 zh-CN=中文 en-US=英文 注意:此字段可能返回 null,表示取不到有效值。voidsetNoticeType(String NoticeType)Set 告警通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=全部通知 注意:此字段可能返回 null,表示取不到有效值。voidsetPolicyIds(String[] PolicyIds)Set 告警通知模板绑定的告警策略ID列表 注意:此字段可能返回 null,表示取不到有效值。voidsetTags(Tag[] Tags)Set 通知模板绑定的标签 注意:此字段可能返回 null,表示取不到有效值。voidsetUpdatedAt(String UpdatedAt)Set 上次修改时间 注意:此字段可能返回 null,表示取不到有效值。voidsetUpdatedBy(String UpdatedBy)Set 上次修改人 注意:此字段可能返回 null,表示取不到有效值。voidsetURLNotices(URLNotice[] URLNotices)Set 回调通知列表 注意:此字段可能返回 null,表示取不到有效值。voidsetUserNotices(UserNotice[] UserNotices)Set 用户通知列表 注意:此字段可能返回 null,表示取不到有效值。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
-
AlarmNotice
public AlarmNotice()
-
AlarmNotice
public AlarmNotice(AlarmNotice 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
-
getId
public String getId()
Get 告警通知模板 ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Id 告警通知模板 ID 注意:此字段可能返回 null,表示取不到有效值。
-
setId
public void setId(String Id)
Set 告警通知模板 ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Id- 告警通知模板 ID 注意:此字段可能返回 null,表示取不到有效值。
-
getName
public String getName()
Get 告警通知模板名称 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Name 告警通知模板名称 注意:此字段可能返回 null,表示取不到有效值。
-
setName
public void setName(String Name)
Set 告警通知模板名称 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Name- 告警通知模板名称 注意:此字段可能返回 null,表示取不到有效值。
-
getUpdatedAt
public String getUpdatedAt()
Get 上次修改时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UpdatedAt 上次修改时间 注意:此字段可能返回 null,表示取不到有效值。
-
setUpdatedAt
public void setUpdatedAt(String UpdatedAt)
Set 上次修改时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UpdatedAt- 上次修改时间 注意:此字段可能返回 null,表示取不到有效值。
-
getUpdatedBy
public String getUpdatedBy()
Get 上次修改人 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UpdatedBy 上次修改人 注意:此字段可能返回 null,表示取不到有效值。
-
setUpdatedBy
public void setUpdatedBy(String UpdatedBy)
Set 上次修改人 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UpdatedBy- 上次修改人 注意:此字段可能返回 null,表示取不到有效值。
-
getNoticeType
public String getNoticeType()
Get 告警通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=全部通知 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- NoticeType 告警通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=全部通知 注意:此字段可能返回 null,表示取不到有效值。
-
setNoticeType
public void setNoticeType(String NoticeType)
Set 告警通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=全部通知 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
NoticeType- 告警通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=全部通知 注意:此字段可能返回 null,表示取不到有效值。
-
getUserNotices
public UserNotice[] getUserNotices()
Get 用户通知列表 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UserNotices 用户通知列表 注意:此字段可能返回 null,表示取不到有效值。
-
setUserNotices
public void setUserNotices(UserNotice[] UserNotices)
Set 用户通知列表 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UserNotices- 用户通知列表 注意:此字段可能返回 null,表示取不到有效值。
-
getURLNotices
public URLNotice[] getURLNotices()
Get 回调通知列表 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- URLNotices 回调通知列表 注意:此字段可能返回 null,表示取不到有效值。
-
setURLNotices
public void setURLNotices(URLNotice[] URLNotices)
Set 回调通知列表 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
URLNotices- 回调通知列表 注意:此字段可能返回 null,表示取不到有效值。
-
getIsPreset
public Long getIsPreset()
Get 是否是系统预设通知模板 0=否 1=是 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- IsPreset 是否是系统预设通知模板 0=否 1=是 注意:此字段可能返回 null,表示取不到有效值。
-
setIsPreset
public void setIsPreset(Long IsPreset)
Set 是否是系统预设通知模板 0=否 1=是 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
IsPreset- 是否是系统预设通知模板 0=否 1=是 注意:此字段可能返回 null,表示取不到有效值。
-
getNoticeLanguage
public String getNoticeLanguage()
Get 通知语言 zh-CN=中文 en-US=英文 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- NoticeLanguage 通知语言 zh-CN=中文 en-US=英文 注意:此字段可能返回 null,表示取不到有效值。
-
setNoticeLanguage
public void setNoticeLanguage(String NoticeLanguage)
Set 通知语言 zh-CN=中文 en-US=英文 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
NoticeLanguage- 通知语言 zh-CN=中文 en-US=英文 注意:此字段可能返回 null,表示取不到有效值。
-
getPolicyIds
public String[] getPolicyIds()
Get 告警通知模板绑定的告警策略ID列表 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PolicyIds 告警通知模板绑定的告警策略ID列表 注意:此字段可能返回 null,表示取不到有效值。
-
setPolicyIds
public void setPolicyIds(String[] PolicyIds)
Set 告警通知模板绑定的告警策略ID列表 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PolicyIds- 告警通知模板绑定的告警策略ID列表 注意:此字段可能返回 null,表示取不到有效值。
-
getAMPConsumerId
public String getAMPConsumerId()
Get 后台 amp consumer id 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AMPConsumerId 后台 amp consumer id 注意:此字段可能返回 null,表示取不到有效值。
-
setAMPConsumerId
public void setAMPConsumerId(String AMPConsumerId)
Set 后台 amp consumer id 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AMPConsumerId- 后台 amp consumer id 注意:此字段可能返回 null,表示取不到有效值。
-
getCLSNotices
public CLSNotice[] getCLSNotices()
Get 推送cls渠道 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CLSNotices 推送cls渠道 注意:此字段可能返回 null,表示取不到有效值。
-
setCLSNotices
public void setCLSNotices(CLSNotice[] CLSNotices)
Set 推送cls渠道 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CLSNotices- 推送cls渠道 注意:此字段可能返回 null,表示取不到有效值。
-
getTags
public Tag[] getTags()
Get 通知模板绑定的标签 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Tags 通知模板绑定的标签 注意:此字段可能返回 null,表示取不到有效值。
-
setTags
public void setTags(Tag[] Tags)
Set 通知模板绑定的标签 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Tags- 通知模板绑定的标签 注意:此字段可能返回 null,表示取不到有效值。
-
-