类 Alert.Builder
java.lang.Object
com.lark.oapi.service.vc.v1.model.Alert.Builder
- 封闭类:
Alert
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明告警IDalertLevel(AlertAlertLevelEnum alertLevel) 告警等级:严重/警告/提醒alertLevel(Integer alertLevel) 告警等级:严重/警告/提醒规则名称alertStrategy(String alertStrategy) 告警规则的规则描述告警通知发生时间(unix时间,单位sec)build()告警联系人monitorTarget(AlertMonitorTargetEnum monitorTarget) 触发告警规则的监控对象monitorTarget(Integer monitorTarget) 触发告警规则的监控对象notifyMethods(Integer[] notifyMethods) 通知方式resourceScope(String resourceScope) 触发告警规则的会议室/服务器具体的名称
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
alertId
告警ID示例值:7115030004018184212
- 参数:
alertId-- 返回:
-
resourceScope
触发告警规则的会议室/服务器具体的名称示例值:XX层级
- 参数:
resourceScope-- 返回:
-
monitorTarget
触发告警规则的监控对象示例值:2
- 参数:
monitorTarget-- 返回:
-
monitorTarget
触发告警规则的监控对象示例值:2
- 参数:
monitorTarget-AlertMonitorTargetEnum- 返回:
-
alertStrategy
告警规则的规则描述示例值:连续1个周期(共1分钟),控制器电量 无效输入:'<' 50%,则告警
- 参数:
alertStrategy-- 返回:
-
alertTime
告警通知发生时间(unix时间,单位sec)示例值:1656914944
- 参数:
alertTime-- 返回:
-
alertLevel
告警等级:严重/警告/提醒示例值:2
- 参数:
alertLevel-- 返回:
-
alertLevel
告警等级:严重/警告/提醒示例值:2
- 参数:
alertLevel-AlertAlertLevelEnum- 返回:
-
contacts
告警联系人示例值:
- 参数:
contacts-- 返回:
-
notifyMethods
通知方式示例值:[0,1]
- 参数:
notifyMethods-- 返回:
-
alertRule
规则名称示例值:签到板断开连接
- 参数:
alertRule-- 返回:
-
build
-