public class CreateOpsAlarmRuleRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
CreateOpsAlarmRuleRequest() |
CreateOpsAlarmRuleRequest(CreateOpsAlarmRuleRequest 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 Alarm recipient configuration.
|
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 |
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 |
getDescription()
Get Describes the Alarm rule.
|
String[] |
getMonitorObjectIds()
Get Monitoring Object Business ID List - 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 |
getProjectId()
Get Project ID.
|
void |
setAlarmGroups(AlarmGroup[] AlarmGroups)
Set Alarm recipient configuration.
|
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 |
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 |
setDescription(String Description)
Set Describes the Alarm rule.
|
void |
setMonitorObjectIds(String[] MonitorObjectIds)
Set Monitoring Object Business ID List - 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 |
setProjectId(String ProjectId)
Set Project ID.
|
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 CreateOpsAlarmRuleRequest()
public CreateOpsAlarmRuleRequest(CreateOpsAlarmRuleRequest source)
public String getProjectId()
public void setProjectId(String ProjectId)
ProjectId - Project ID.public String getAlarmRuleName()
public void setAlarmRuleName(String AlarmRuleName)
AlarmRuleName - Specifies the Alarm rule name.public String[] getMonitorObjectIds()
public void setMonitorObjectIds(String[] MonitorObjectIds)
MonitorObjectIds - Monitoring Object Business ID List - 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 AlarmGroup[] getAlarmGroups()
public void setAlarmGroups(AlarmGroup[] AlarmGroups)
AlarmGroups - Alarm recipient configuration.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 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 (default: 1. ordinary).public String getDescription()
public void setDescription(String Description)
Description - Describes the Alarm rule.Copyright © 2025. All rights reserved.