public class AlarmEventInfo extends AbstractModel
header, skipSign| Constructor and Description |
|---|
AlarmEventInfo() |
AlarmEventInfo(AlarmEventInfo 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 |
|---|---|
String |
getAlarmId()
Get Alert ID
|
Long |
getAlarmIndicator()
Get Alert Metrics, 0 for task failure, 1 for task run timeout, 2 for task stop, 3 for task pause
|
String |
getAlarmIndicatorDesc()
Get Alert Metric Description
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getAlarmLevel()
Get Alert level, 0 for normal, 1 for important, 2 for urgent
|
String |
getAlarmRecipientId()
Get Alert Recipient ID, separated by commas
|
String |
getAlarmRecipientName()
Get Alert Recipient Nickname
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getAlarmTime()
Get Alarm Time
|
Long |
getAlarmWay()
Get Alert Method, separated by commas (1: email, 2: SMS, 3: WeChat, 4: voice call, 5: represents WeCom, 6: http)
|
Long |
getEstimatedTime()
Get Estimated timeout, minute level
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getInQuitePeriods()
Get During Do Not Disturb time, 0: No, 1: Yes
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getInstanceId()
Get Instance IDNote: This field may return null, indicating that no valid value can be obtained.
|
Long |
getIsSendSuccess()
Get 0: Partial Success, 1: Complete Success, 2: Complete Failure
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getMessageId()
Get Message ID
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getMonitorObjectId()
Get Monitoring Object ID
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getMonitorObjectName()
Get Monitoring Object Name
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getOperator()
Get Threshold Calculation Operator, 1: Greater than, 2: Less than
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getProjectId()
Get Project ID
|
Long |
getRecordId()
Get Alert Record ID
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getRegularId()
Get Alert Rule ID
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getRegularName()
Get Rule name
|
String |
getSendResult()
Get Send Result
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTaskId()
Get Task ID
|
String |
getTaskName()
Get Task NameNote: This field may return null, indicating that no valid value can be obtained.
|
Long |
getTaskType()
Get Alert Task Type
Note: This field may return null, indicating that no valid value can be obtained.
|
Float |
getThreshold()
Get Metric Threshold
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getTriggerType()
Get Metric threshold, 1 indicates the first run failure of the offline task, 2 indicates failure after all retries of the offline task
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setAlarmId(String AlarmId)
Set Alert ID
|
void |
setAlarmIndicator(Long AlarmIndicator)
Set Alert Metrics, 0 for task failure, 1 for task run timeout, 2 for task stop, 3 for task pause
|
void |
setAlarmIndicatorDesc(String AlarmIndicatorDesc)
Set Alert Metric Description
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setAlarmLevel(Long AlarmLevel)
Set Alert level, 0 for normal, 1 for important, 2 for urgent
|
void |
setAlarmRecipientId(String AlarmRecipientId)
Set Alert Recipient ID, separated by commas
|
void |
setAlarmRecipientName(String AlarmRecipientName)
Set Alert Recipient Nickname
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setAlarmTime(String AlarmTime)
Set Alarm Time
|
void |
setAlarmWay(Long AlarmWay)
Set Alert Method, separated by commas (1: email, 2: SMS, 3: WeChat, 4: voice call, 5: represents WeCom, 6: http)
|
void |
setEstimatedTime(Long EstimatedTime)
Set Estimated timeout, minute level
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setInQuitePeriods(Long InQuitePeriods)
Set During Do Not Disturb time, 0: No, 1: Yes
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setInstanceId(String InstanceId)
Set Instance IDNote: This field may return null, indicating that no valid value can be obtained.
|
void |
setIsSendSuccess(Long IsSendSuccess)
Set 0: Partial Success, 1: Complete Success, 2: Complete Failure
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setMessageId(String MessageId)
Set Message ID
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setMonitorObjectId(String MonitorObjectId)
Set Monitoring Object ID
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setMonitorObjectName(String MonitorObjectName)
Set Monitoring Object Name
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setOperator(Long Operator)
Set Threshold Calculation Operator, 1: Greater than, 2: Less than
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setProjectId(String ProjectId)
Set Project ID
|
void |
setRecordId(Long RecordId)
Set Alert Record ID
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setRegularId(String RegularId)
Set Alert Rule ID
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setRegularName(String RegularName)
Set Rule name
|
void |
setSendResult(String SendResult)
Set Send Result
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTaskId(String TaskId)
Set Task ID
|
void |
setTaskName(String TaskName)
Set Task NameNote: This field may return null, indicating that no valid value can be obtained.
|
void |
setTaskType(Long TaskType)
Set Alert Task Type
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setThreshold(Float Threshold)
Set Metric Threshold
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTriggerType(Long TriggerType)
Set Metric threshold, 1 indicates the first run failure of the offline task, 2 indicates failure after all retries of the offline task
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 AlarmEventInfo()
public AlarmEventInfo(AlarmEventInfo source)
public String getAlarmId()
public void setAlarmId(String AlarmId)
AlarmId - Alert IDpublic String getAlarmTime()
public void setAlarmTime(String AlarmTime)
AlarmTime - Alarm Timepublic String getTaskId()
public void setTaskId(String TaskId)
TaskId - Task IDpublic String getRegularName()
public void setRegularName(String RegularName)
RegularName - Rule namepublic Long getAlarmLevel()
public void setAlarmLevel(Long AlarmLevel)
AlarmLevel - Alert level, 0 for normal, 1 for important, 2 for urgentpublic Long getAlarmWay()
public void setAlarmWay(Long AlarmWay)
AlarmWay - Alert Method, separated by commas (1: email, 2: SMS, 3: WeChat, 4: voice call, 5: represents WeCom, 6: http)public String getAlarmRecipientId()
public void setAlarmRecipientId(String AlarmRecipientId)
AlarmRecipientId - Alert Recipient ID, separated by commaspublic String getProjectId()
public void setProjectId(String ProjectId)
ProjectId - Project 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 pausepublic 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 getTriggerType()
public void setTriggerType(Long TriggerType)
TriggerType - Metric threshold, 1 indicates the first run failure of the offline task, 2 indicates failure after all retries of the 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, minute level
Note: This field may return null, indicating that no valid value can be obtained.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Instance IDNote: This field may return null, indicating that no valid value can be obtained.public String getTaskName()
public void setTaskName(String TaskName)
TaskName - Task NameNote: This field may return null, indicating that no valid value can be obtained.public Long getIsSendSuccess()
public void setIsSendSuccess(Long IsSendSuccess)
IsSendSuccess - 0: Partial Success, 1: Complete Success, 2: Complete Failure
Note: This field may return null, indicating that no valid value can be obtained.public Long getInQuitePeriods()
public void setInQuitePeriods(Long InQuitePeriods)
InQuitePeriods - During Do Not Disturb time, 0: No, 1: Yes
Note: This field may return null, indicating that no valid value can be obtained.public Long getRecordId()
public void setRecordId(Long RecordId)
RecordId - Alert Record ID
Note: This field may return null, indicating that no valid value can be obtained.public String getMessageId()
public void setMessageId(String MessageId)
MessageId - Message ID
Note: This field may return null, indicating that no valid value can be obtained.public Long getOperator()
public void setOperator(Long Operator)
Operator - Threshold Calculation Operator, 1: Greater than, 2: Less than
Note: This field may return null, indicating that no valid value can be obtained.public String getRegularId()
public void setRegularId(String RegularId)
RegularId - Alert Rule ID
Note: 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
Note: This field may return null, indicating that no valid value can be obtained.public Long getTaskType()
public void setTaskType(Long TaskType)
TaskType - Alert Task Type
Note: This field may return null, indicating that no valid value can be obtained.public String getSendResult()
public void setSendResult(String SendResult)
SendResult - Send Result
Note: This field may return null, indicating that no valid value can be obtained.public String getMonitorObjectId()
public void setMonitorObjectId(String MonitorObjectId)
MonitorObjectId - Monitoring Object ID
Note: This field may return null, indicating that no valid value can be obtained.public String getMonitorObjectName()
public void setMonitorObjectName(String MonitorObjectName)
MonitorObjectName - Monitoring Object Name
Note: This field may return null, indicating that no valid value can be obtained.public Float getThreshold()
public void setThreshold(Float Threshold)
Threshold - Metric Threshold
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.