public class AlarmRuleData extends AbstractModel
header, skipSign| Constructor and Description |
|---|
AlarmRuleData() |
AlarmRuleData(AlarmRuleData 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 |
|---|---|
AlarmGroup[] |
getAlarmGroups()
Get Describes the Alarm recipient configuration list.
|
Long |
getAlarmLevel()
Get Alarm level.
|
AlarmRuleDetail |
getAlarmRuleDetail()
Get Alarm Rule Configuration Information
Success Alarms - No configuration required;
Failure Alarms - Can be configured to trigger on the first failure or on all retry failures;
Timeout Alarms - Require configuration of the timeout type and timeout threshold;
Project Fluctuation Alarms - Require configuration of the fluctuation rate and the debounce cycle.
|
String |
getAlarmRuleId()
Get Alarm Rule ID
|
String |
getAlarmRuleName()
Get Specifies the Alarm rule name.
|
String[] |
getAlarmTypes()
Get Alarm Rule Monitoring Types:
failure: Failure alarm
overtime: Timeout alarm
success: Success alarm
backTrackingOrRerunSuccess: Alarm when backfill/rerun succeeds
backTrackingOrRerunFailure: Alarm when backfill/rerun fails
projectFailureInstanceUpwardFluctuationAlarm: Alarm when the upward fluctuation rate of failed instances for the day exceeds the threshold
projectSuccessInstanceDownwardFluctuationAlarm: Alarm when the downward fluctuation rate of successful instances for the day exceeds the threshold
reconciliationFailure: Alarm when an offline reconciliation task fails
reconciliationOvertime: Alarm when an offline reconciliation task runs overtime
reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the threshold
|
String |
getBundleId()
Get The Alarm rule bound to the bundle client.
|
String |
getBundleInfo()
Get bundleId is not empty.
|
String |
getDescription()
Get Describes the Alarm rule.
|
String[] |
getMonitorObjectIds()
Get Pass different business IDs depending on the value of MonitorType:
1 (Task): MonitorObjectIds should contain a list of task IDs.
|
Long |
getMonitorObjectType()
Get Monitoring Object Type
Task-level Monitoring - Can be configured by Task / Workflow / Project:
1 = Task (default)
2 = Workflow
3 = Project
Project-level Monitoring - Monitors overall task fluctuations within a project:
7 = Project fluctuation monitoring alarm
|
String |
getOwnerUin()
Get Specifies the id of the Alarm rule creator.
|
Long |
getStatus()
Get Whether the Alarm rule is enabled.
|
void |
setAlarmGroups(AlarmGroup[] AlarmGroups)
Set Describes the Alarm recipient configuration list.
|
void |
setAlarmLevel(Long AlarmLevel)
Set Alarm level.
|
void |
setAlarmRuleDetail(AlarmRuleDetail AlarmRuleDetail)
Set Alarm Rule Configuration Information
Success Alarms - No configuration required;
Failure Alarms - Can be configured to trigger on the first failure or on all retry failures;
Timeout Alarms - Require configuration of the timeout type and timeout threshold;
Project Fluctuation Alarms - Require configuration of the fluctuation rate and the debounce cycle.
|
void |
setAlarmRuleId(String AlarmRuleId)
Set Alarm Rule ID
|
void |
setAlarmRuleName(String AlarmRuleName)
Set Specifies the Alarm rule name.
|
void |
setAlarmTypes(String[] AlarmTypes)
Set Alarm Rule Monitoring Types:
failure: Failure alarm
overtime: Timeout alarm
success: Success alarm
backTrackingOrRerunSuccess: Alarm when backfill/rerun succeeds
backTrackingOrRerunFailure: Alarm when backfill/rerun fails
projectFailureInstanceUpwardFluctuationAlarm: Alarm when the upward fluctuation rate of failed instances for the day exceeds the threshold
projectSuccessInstanceDownwardFluctuationAlarm: Alarm when the downward fluctuation rate of successful instances for the day exceeds the threshold
reconciliationFailure: Alarm when an offline reconciliation task fails
reconciliationOvertime: Alarm when an offline reconciliation task runs overtime
reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the threshold
|
void |
setBundleId(String BundleId)
Set The Alarm rule bound to the bundle client.
|
void |
setBundleInfo(String BundleInfo)
Set bundleId is not empty.
|
void |
setDescription(String Description)
Set Describes the Alarm rule.
|
void |
setMonitorObjectIds(String[] MonitorObjectIds)
Set Pass different business IDs depending on the value of MonitorType:
1 (Task): MonitorObjectIds should contain a list of task IDs.
|
void |
setMonitorObjectType(Long MonitorObjectType)
Set Monitoring Object Type
Task-level Monitoring - Can be configured by Task / Workflow / Project:
1 = Task (default)
2 = Workflow
3 = Project
Project-level Monitoring - Monitors overall task fluctuations within a project:
7 = Project fluctuation monitoring alarm
|
void |
setOwnerUin(String OwnerUin)
Set Specifies the id of the Alarm rule creator.
|
void |
setStatus(Long Status)
Set Whether the Alarm rule is enabled.
|
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 AlarmRuleData()
public AlarmRuleData(AlarmRuleData source)
public String getAlarmRuleId()
public void setAlarmRuleId(String AlarmRuleId)
AlarmRuleId - Alarm Rule IDpublic String getAlarmRuleName()
public void setAlarmRuleName(String AlarmRuleName)
AlarmRuleName - Specifies the Alarm rule name.public String getDescription()
public void setDescription(String Description)
Description - Describes the Alarm rule.public Long getMonitorObjectType()
public void setMonitorObjectType(Long MonitorObjectType)
MonitorObjectType - Monitoring Object Type
Task-level Monitoring - Can be configured by Task / Workflow / Project:
1 = Task (default)
2 = Workflow
3 = Project
Project-level Monitoring - Monitors overall task fluctuations within a project:
7 = Project fluctuation monitoring alarmpublic String[] getMonitorObjectIds()
public void setMonitorObjectIds(String[] MonitorObjectIds)
MonitorObjectIds - Pass different business IDs depending on the value of MonitorType:
1 (Task): MonitorObjectIds should contain a list of task IDs.
2 (Workflow): MonitorObjectIds should contain a list of workflow IDs (workflow IDs can be obtained using the ListWorkflows API).
3 (Project): MonitorObjectIds should contain a list of project IDs.public String[] getAlarmTypes()
public void setAlarmTypes(String[] AlarmTypes)
AlarmTypes - Alarm Rule Monitoring Types:
failure: Failure alarm
overtime: Timeout alarm
success: Success alarm
backTrackingOrRerunSuccess: Alarm when backfill/rerun succeeds
backTrackingOrRerunFailure: Alarm when backfill/rerun fails
projectFailureInstanceUpwardFluctuationAlarm: Alarm when the upward fluctuation rate of failed instances for the day exceeds the threshold
projectSuccessInstanceDownwardFluctuationAlarm: Alarm when the downward fluctuation rate of successful instances for the day exceeds the threshold
reconciliationFailure: Alarm when an offline reconciliation task fails
reconciliationOvertime: Alarm when an offline reconciliation task runs overtime
reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the thresholdpublic Long getStatus()
public void setStatus(Long Status)
Status - Whether the Alarm rule is enabled.
Valid values: 0 (disabled), 1 (enabled).public AlarmRuleDetail getAlarmRuleDetail()
public void setAlarmRuleDetail(AlarmRuleDetail AlarmRuleDetail)
AlarmRuleDetail - Alarm Rule Configuration Information
Success Alarms - No configuration required;
Failure Alarms - Can be configured to trigger on the first failure or on all retry failures;
Timeout Alarms - Require configuration of the timeout type and timeout threshold;
Project Fluctuation Alarms - Require configuration of the fluctuation rate and the debounce cycle.public Long getAlarmLevel()
public void setAlarmLevel(Long AlarmLevel)
AlarmLevel - Alarm level. 1. ordinary, 2. important, 3. critical.public String getOwnerUin()
public void setOwnerUin(String OwnerUin)
OwnerUin - Specifies the id of the Alarm rule creator.public String getBundleId()
public void setBundleId(String BundleId)
BundleId - The Alarm rule bound to the bundle client. it is normal if empty, otherwise it corresponds to the rule bound to the bundle client.public String getBundleInfo()
public void setBundleInfo(String BundleInfo)
BundleInfo - bundleId is not empty. it indicates the bound client name.public AlarmGroup[] getAlarmGroups()
public void setAlarmGroups(AlarmGroup[] AlarmGroups)
AlarmGroups - Describes the Alarm recipient configuration list.Copyright © 2025. All rights reserved.