public class TaskAlarmInfo extends AbstractModel
header, skipSign| Constructor and Description |
|---|
TaskAlarmInfo() |
TaskAlarmInfo(TaskAlarmInfo 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 |
getAlarmIndicator()
Get Alert Metrics, 0 for task failure, 1 for task run timeout, 2 for task stop, 3 for task pause,4 Write Speed, 5 Read Speed, 6 Read Throughput, 7 Write Throughput, 8 Dirty Data Byte Count, 9 Number of Dirty Data Entries
|
String |
getAlarmIndicatorDesc()
Get Alert Metric Description
Note: This field may return null, indicating that no valid value can be obtained.
|
AlarmIndicatorInfo[] |
getAlarmIndicatorInfos()
Get Metric List
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getAlarmLevel()
Get Alert Level (0 for general, 1 for critical, 2 for urgent)
|
String |
getAlarmRecipientId()
Get Alert Recipient ID, separated by commas
|
String |
getAlarmRecipientName()
Get Alert Recipient Nickname, separated by commas
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getAlarmRecipientType()
Get Alert Recipient Type, 0 is designated person; 1 is task responsible person
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getAlarmWay()
Get Alert Method, separated by commas (1: email, 2: SMS, 3: WeChat, 4: voice call, 5: represents WeCom, 6: http)
|
String |
getCreater()
Get CreatorNote: This field may return null, indicating that no valid value can be obtained.
|
String |
getDescription()
Get Alert Rule Description
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getDingDingWebHooks()
Get DingTalk Group Hook addresses, multiple hook addresses separated by commas
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getEstimatedTime()
Get Estimated Timeout Duration (Minute Level)
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getId()
Get ID
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getLarkWebHooks()
Get FeiShu Group Hook Address, multiple hook addresses separated by commas
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getLatestAlarmInstanceId()
Get Instance ID of the Last Alert
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getLatestAlarmTime()
Get Time of the Last Alert
Note: This field may return null, indicating that no valid value can be obtained.
|
String[] |
getMonitorObjectIds()
Get Monitoring Object List
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getMonitorType()
Get Monitored Object Type, 1: all tasks, 2: specified tasks, 3: specified responsible person
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getNodeId()
Get Node ID, separated by commas
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getNodeName()
Get Node name, separated by commas
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getOperator()
Get Parameters needed for real-time task alerts, 1 is greater than, 2 is less than
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getOperatorUin()
Get Last Operator Uin
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getProjectId()
Get Project IDNote: This field may return null, indicating that no valid value can be obtained.
|
QuietPeriod[] |
getQuietPeriods()
Get Do not disturb time
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getRegularId()
Get Rule ID
|
String |
getRegularName()
Get Rule name
|
Long |
getRegularStatus()
Get Rule Status (0 for off, 1 for on)
|
Long |
getTaskCount()
Get Associated Task Count
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTaskId()
Get Task ID
|
Long |
getTaskType()
Get Task Type (201 for real-time, 202 for offline)
|
Long |
getTriggerType()
Get Metric Threshold (1 for the first run failure of an offline task, 2 for all retries failed of an offline task)
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getUpdateTime()
Get Last Operation Time
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getWeComHook()
Get Enterprise WeChat Group Hook Address, multiple hook addresses separated by commas
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setAlarmIndicator(Long AlarmIndicator)
Set Alert Metrics, 0 for task failure, 1 for task run timeout, 2 for task stop, 3 for task pause,4 Write Speed, 5 Read Speed, 6 Read Throughput, 7 Write Throughput, 8 Dirty Data Byte Count, 9 Number of Dirty Data Entries
|
void |
setAlarmIndicatorDesc(String AlarmIndicatorDesc)
Set Alert Metric Description
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setAlarmIndicatorInfos(AlarmIndicatorInfo[] AlarmIndicatorInfos)
Set Metric List
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setAlarmLevel(Long AlarmLevel)
Set Alert Level (0 for general, 1 for critical, 2 for urgent)
|
void |
setAlarmRecipientId(String AlarmRecipientId)
Set Alert Recipient ID, separated by commas
|
void |
setAlarmRecipientName(String AlarmRecipientName)
Set Alert Recipient Nickname, separated by commas
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setAlarmRecipientType(Long AlarmRecipientType)
Set Alert Recipient Type, 0 is designated person; 1 is task responsible person
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setAlarmWay(String AlarmWay)
Set Alert Method, separated by commas (1: email, 2: SMS, 3: WeChat, 4: voice call, 5: represents WeCom, 6: http)
|
void |
setCreater(String Creater)
Set CreatorNote: This field may return null, indicating that no valid value can be obtained.
|
void |
setDescription(String Description)
Set Alert Rule Description
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setDingDingWebHooks(String DingDingWebHooks)
Set DingTalk Group Hook addresses, multiple hook addresses separated by commas
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setEstimatedTime(Long EstimatedTime)
Set Estimated Timeout Duration (Minute Level)
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setId(String Id)
Set ID
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setLarkWebHooks(String LarkWebHooks)
Set FeiShu Group Hook Address, multiple hook addresses separated by commas
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setLatestAlarmInstanceId(String LatestAlarmInstanceId)
Set Instance ID of the Last Alert
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setLatestAlarmTime(String LatestAlarmTime)
Set Time of the Last Alert
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setMonitorObjectIds(String[] MonitorObjectIds)
Set Monitoring Object List
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setMonitorType(Long MonitorType)
Set Monitored Object Type, 1: all tasks, 2: specified tasks, 3: specified responsible person
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setNodeId(String NodeId)
Set Node ID, separated by commas
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setNodeName(String NodeName)
Set Node name, separated by commas
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setOperator(Long Operator)
Set Parameters needed for real-time task alerts, 1 is greater than, 2 is less than
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setOperatorUin(String OperatorUin)
Set Last Operator Uin
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setProjectId(String ProjectId)
Set Project IDNote: This field may return null, indicating that no valid value can be obtained.
|
void |
setQuietPeriods(QuietPeriod[] QuietPeriods)
Set Do not disturb time
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setRegularId(String RegularId)
Set Rule ID
|
void |
setRegularName(String RegularName)
Set Rule name
|
void |
setRegularStatus(Long RegularStatus)
Set Rule Status (0 for off, 1 for on)
|
void |
setTaskCount(Long TaskCount)
Set Associated Task Count
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTaskId(String TaskId)
Set Task ID
|
void |
setTaskType(Long TaskType)
Set Task Type (201 for real-time, 202 for offline)
|
void |
setTriggerType(Long TriggerType)
Set Metric Threshold (1 for the first run failure of an offline task, 2 for all retries failed of an offline task)
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setUpdateTime(String UpdateTime)
Set Last Operation Time
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setWeComHook(String WeComHook)
Set Enterprise WeChat Group Hook Address, multiple hook addresses separated by commas
Note: This field may return null, indicating that no valid value can be obtained.
|
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 TaskAlarmInfo()
public TaskAlarmInfo(TaskAlarmInfo source)
public String getTaskId()
public void setTaskId(String TaskId)
TaskId - Task IDpublic String getRegularName()
public void setRegularName(String RegularName)
RegularName - Rule namepublic Long getRegularStatus()
public void setRegularStatus(Long RegularStatus)
RegularStatus - Rule Status (0 for off, 1 for on)public Long getAlarmLevel()
public void setAlarmLevel(Long AlarmLevel)
AlarmLevel - Alert Level (0 for general, 1 for critical, 2 for urgent)public String getAlarmWay()
public void setAlarmWay(String AlarmWay)
AlarmWay - Alert Method, separated by commas (1: email, 2: SMS, 3: WeChat, 4: voice call, 5: represents WeCom, 6: http)public Long getTaskType()
public void setTaskType(Long TaskType)
TaskType - Task Type (201 for real-time, 202 for offline)public String getId()
public void setId(String Id)
Id - ID
Note: This field may return null, indicating that no valid value can be obtained.public String getRegularId()
public void setRegularId(String RegularId)
RegularId - Rule IDpublic Long getAlarmIndicator()
public void setAlarmIndicator(Long AlarmIndicator)
AlarmIndicator - Alert Metrics, 0 for task failure, 1 for task run timeout, 2 for task stop, 3 for task pause,4 Write Speed, 5 Read Speed, 6 Read Throughput, 7 Write Throughput, 8 Dirty Data Byte Count, 9 Number of Dirty Data Entriespublic Long getTriggerType()
public void setTriggerType(Long TriggerType)
TriggerType - Metric Threshold (1 for the first run failure of an offline task, 2 for all retries failed of an offline task)
Note: This field may return null, indicating that no valid value can be obtained.public Long getEstimatedTime()
public void setEstimatedTime(Long EstimatedTime)
EstimatedTime - Estimated Timeout Duration (Minute Level)
Note: This field may return null, indicating that no valid value can be obtained.public String getAlarmRecipientId()
public void setAlarmRecipientId(String AlarmRecipientId)
AlarmRecipientId - Alert Recipient ID, separated by commaspublic String getProjectId()
public void setProjectId(String ProjectId)
ProjectId - Project IDNote: This field may return null, indicating that no valid value can be obtained.public String getCreater()
public void setCreater(String Creater)
Creater - CreatorNote: This field may return null, indicating that no valid value can be obtained.public String getAlarmRecipientName()
public void setAlarmRecipientName(String AlarmRecipientName)
AlarmRecipientName - Alert Recipient Nickname, separated by commas
Note: This field may return null, indicating that no valid value can be obtained.public String getAlarmIndicatorDesc()
public void setAlarmIndicatorDesc(String AlarmIndicatorDesc)
AlarmIndicatorDesc - Alert Metric Description
Note: This field may return null, indicating that no valid value can be obtained.public Long getOperator()
public void setOperator(Long Operator)
Operator - Parameters needed for real-time task alerts, 1 is greater than, 2 is less than
Note: This field may return null, indicating that no valid value can be obtained.public String getNodeId()
public void setNodeId(String NodeId)
NodeId - Node ID, separated by commas
Note: This field may return null, indicating that no valid value can be obtained.public String getNodeName()
public void setNodeName(String NodeName)
NodeName - Node name, separated by commas
Note: This field may return null, indicating that no valid value can be obtained.public AlarmIndicatorInfo[] getAlarmIndicatorInfos()
public void setAlarmIndicatorInfos(AlarmIndicatorInfo[] AlarmIndicatorInfos)
AlarmIndicatorInfos - Metric List
Note: This field may return null, indicating that no valid value can be obtained.public Long getAlarmRecipientType()
public void setAlarmRecipientType(Long AlarmRecipientType)
AlarmRecipientType - Alert Recipient Type, 0 is designated person; 1 is task responsible person
Note: This field may return null, indicating that no valid value can be obtained.public QuietPeriod[] getQuietPeriods()
public void setQuietPeriods(QuietPeriod[] QuietPeriods)
QuietPeriods - Do not disturb time
Note: This field may return null, indicating that no valid value can be obtained.public String getWeComHook()
public void setWeComHook(String WeComHook)
WeComHook - Enterprise WeChat Group Hook Address, multiple hook addresses separated by commas
Note: This field may return null, indicating that no valid value can be obtained.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime - Last Operation Time
Note: This field may return null, indicating that no valid value can be obtained.public String getOperatorUin()
public void setOperatorUin(String OperatorUin)
OperatorUin - Last Operator Uin
Note: This field may return null, indicating that no valid value can be obtained.public Long getTaskCount()
public void setTaskCount(Long TaskCount)
TaskCount - Associated Task Count
Note: This field may return null, indicating that no valid value can be obtained.public Long getMonitorType()
public void setMonitorType(Long MonitorType)
MonitorType - Monitored Object Type, 1: all tasks, 2: specified tasks, 3: specified responsible person
Note: This field may return null, indicating that no valid value can be obtained.public String[] getMonitorObjectIds()
public void setMonitorObjectIds(String[] MonitorObjectIds)
MonitorObjectIds - Monitoring Object List
Note: This field may return null, indicating that no valid value can be obtained.public String getLatestAlarmInstanceId()
public void setLatestAlarmInstanceId(String LatestAlarmInstanceId)
LatestAlarmInstanceId - Instance ID of the Last Alert
Note: This field may return null, indicating that no valid value can be obtained.public String getLatestAlarmTime()
public void setLatestAlarmTime(String LatestAlarmTime)
LatestAlarmTime - Time of the Last Alert
Note: This field may return null, indicating that no valid value can be obtained.public String getDescription()
public void setDescription(String Description)
Description - Alert Rule Description
Note: This field may return null, indicating that no valid value can be obtained.public String getLarkWebHooks()
public void setLarkWebHooks(String LarkWebHooks)
LarkWebHooks - FeiShu Group Hook Address, multiple hook addresses separated by commas
Note: This field may return null, indicating that no valid value can be obtained.public String getDingDingWebHooks()
public void setDingDingWebHooks(String DingDingWebHooks)
DingDingWebHooks - DingTalk Group Hook addresses, multiple hook addresses separated by commas
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.