public class AlarmGroup extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AlarmGroup() | 
| AlarmGroup(AlarmGroup 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 | getAlarmEscalationInterval()Get 告警升级间隔 | 
| String[] | getAlarmEscalationRecipientIds()Get 告警升级人ID列表
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。 | 
| String[] | getAlarmRecipientIds()Get 根据AlarmRecipientType的类型该列表具有不同的业务id 1(指定人员): 告警接收人id列表 2(任务责任人):无需配置 3(值班表):值班表id列表 | 
| Long | getAlarmRecipientType()Get 告警接收人类型:1.指定人员,2.任务责任人,3.值班表(默认1.指定人员) | 
| String[] | getAlarmWays()Get 告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群 8 飞书群 9 钉钉群 10 Slack群 11 Teams群(默认1.邮件) 7.企业微信群 8 飞书群 9 钉钉群 10 Slack群 11 Teams群 只能选择一个渠道 | 
| NotificationFatigue | getNotificationFatigue()Get 告警通知疲劳配置 | 
| AlarmWayWebHook[] | getWebHooks()Get 企业微信群/飞书群/钉钉群 /Slack群/Teams群的webhook地址列表 | 
| void | setAlarmEscalationInterval(Long AlarmEscalationInterval)Set 告警升级间隔 | 
| void | setAlarmEscalationRecipientIds(String[] AlarmEscalationRecipientIds)Set 告警升级人ID列表
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。 | 
| void | setAlarmRecipientIds(String[] AlarmRecipientIds)Set 根据AlarmRecipientType的类型该列表具有不同的业务id 1(指定人员): 告警接收人id列表 2(任务责任人):无需配置 3(值班表):值班表id列表 | 
| void | setAlarmRecipientType(Long AlarmRecipientType)Set 告警接收人类型:1.指定人员,2.任务责任人,3.值班表(默认1.指定人员) | 
| void | setAlarmWays(String[] AlarmWays)Set 告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群 8 飞书群 9 钉钉群 10 Slack群 11 Teams群(默认1.邮件) 7.企业微信群 8 飞书群 9 钉钉群 10 Slack群 11 Teams群 只能选择一个渠道 | 
| void | setNotificationFatigue(NotificationFatigue NotificationFatigue)Set 告警通知疲劳配置 | 
| void | setWebHooks(AlarmWayWebHook[] WebHooks)Set 企业微信群/飞书群/钉钉群 /Slack群/Teams群的webhook地址列表 | 
| 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, toJsonStringpublic AlarmGroup()
public AlarmGroup(AlarmGroup source)
public String[] getAlarmEscalationRecipientIds()
public void setAlarmEscalationRecipientIds(String[] AlarmEscalationRecipientIds)
AlarmEscalationRecipientIds - 告警升级人ID列表
若告警接收人或上级升级人未在告警间隔时间内确认告警,则会发送告警给下一级升级人。public Long getAlarmEscalationInterval()
public void setAlarmEscalationInterval(Long AlarmEscalationInterval)
AlarmEscalationInterval - 告警升级间隔public NotificationFatigue getNotificationFatigue()
public void setNotificationFatigue(NotificationFatigue NotificationFatigue)
NotificationFatigue - 告警通知疲劳配置public String[] getAlarmWays()
public void setAlarmWays(String[] AlarmWays)
AlarmWays - 告警渠道 1.邮件,2.短信,3.微信,4.语音,5.企业微信,6.Http,7.企业微信群 8 飞书群 9 钉钉群 10 Slack群 11 Teams群(默认1.邮件) 7.企业微信群 8 飞书群 9 钉钉群 10 Slack群 11 Teams群 只能选择一个渠道public AlarmWayWebHook[] getWebHooks()
public void setWebHooks(AlarmWayWebHook[] WebHooks)
WebHooks - 企业微信群/飞书群/钉钉群 /Slack群/Teams群的webhook地址列表public Long getAlarmRecipientType()
public void setAlarmRecipientType(Long AlarmRecipientType)
AlarmRecipientType - 告警接收人类型:1.指定人员,2.任务责任人,3.值班表(默认1.指定人员)public String[] getAlarmRecipientIds()
public void setAlarmRecipientIds(String[] AlarmRecipientIds)
AlarmRecipientIds - 根据AlarmRecipientType的类型该列表具有不同的业务id 1(指定人员): 告警接收人id列表 2(任务责任人):无需配置 3(值班表):值班表id列表Copyright © 2025. All rights reserved.