public class MonitorNoticeRule extends AbstractModel
header, skipSign
Constructor and Description |
---|
MonitorNoticeRule() |
MonitorNoticeRule(MonitorNoticeRule 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 |
---|---|
Long[] |
getAlarmLevels()
Get 告警级别,0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)
|
String |
getContentTmplId()
Get 云监控内容模版ID,不传默认内容模版
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getNoticeId()
Get 云监控通知模版ID
|
void |
setAlarmLevels(Long[] AlarmLevels)
Set 告警级别,0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)
|
void |
setContentTmplId(String ContentTmplId)
Set 云监控内容模版ID,不传默认内容模版
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setNoticeId(String NoticeId)
Set 云监控通知模版ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MonitorNoticeRule()
public MonitorNoticeRule(MonitorNoticeRule source)
public String getNoticeId()
public void setNoticeId(String NoticeId)
NoticeId
- 云监控通知模版IDpublic String getContentTmplId()
public void setContentTmplId(String ContentTmplId)
ContentTmplId
- 云监控内容模版ID,不传默认内容模版
注意:此字段可能返回 null,表示取不到有效值。public Long[] getAlarmLevels()
public void setAlarmLevels(Long[] AlarmLevels)
AlarmLevels
- 告警级别,0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)Copyright © 2025. All rights reserved.