public class UpdateOpsAlarmRuleRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
UpdateOpsAlarmRuleRequest() |
UpdateOpsAlarmRuleRequest(UpdateOpsAlarmRuleRequest 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 message.
|
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 Specifies the unique id of the Alarm rule, obtained through the GetAlarmRule/ListAlarmRule api.
|
String |
getAlarmRuleName()
Get Specifies the new rule name of the Alarm rule.
|
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
projectFailureInstanceUpwardVolatilityAlarm: Alarm when the upward fluctuation count 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
projectSuccessInstanceDownwardVolatilityAlarm: Alarm when the downward fluctuation count of successful instances for the day exceeds the threshold
projectFailureInstanceCountAlarm: Alarm when the number of failed instances for the day exceeds the threshold
projectFailureInstanceProportionAlarm: Alarm when the proportion of failed instances for the day exceeds the threshold
reconciliationFailure: Alarm when offline reconciliation task fails
reconciliationOvertime: Alarm when offline reconciliation task runs overtime
reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the threshold
|
String |
getDescription()
Get Alarm description.
|
String[] |
getMonitorObjectIds()
Get Pass different business IDs based on the MonitorType setting:
1 (Task): MonitorObjectIds should be 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.
|
Long |
getStatus()
Get Enable status of the Alarm rule.
|
void |
setAlarmGroups(AlarmGroup[] AlarmGroups)
Set Describes the Alarm recipient configuration message.
|
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 Specifies the unique id of the Alarm rule, obtained through the GetAlarmRule/ListAlarmRule api.
|
void |
setAlarmRuleName(String AlarmRuleName)
Set Specifies the new rule name of the Alarm rule.
|
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
projectFailureInstanceUpwardVolatilityAlarm: Alarm when the upward fluctuation count 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
projectSuccessInstanceDownwardVolatilityAlarm: Alarm when the downward fluctuation count of successful instances for the day exceeds the threshold
projectFailureInstanceCountAlarm: Alarm when the number of failed instances for the day exceeds the threshold
projectFailureInstanceProportionAlarm: Alarm when the proportion of failed instances for the day exceeds the threshold
reconciliationFailure: Alarm when offline reconciliation task fails
reconciliationOvertime: Alarm when offline reconciliation task runs overtime
reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the threshold
|
void |
setDescription(String Description)
Set Alarm description.
|
void |
setMonitorObjectIds(String[] MonitorObjectIds)
Set Pass different business IDs based on the MonitorType setting:
1 (Task): MonitorObjectIds should be 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 |
setStatus(Long Status)
Set Enable status of the Alarm rule.
|
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 UpdateOpsAlarmRuleRequest()
public UpdateOpsAlarmRuleRequest(UpdateOpsAlarmRuleRequest source)
public String getProjectId()
public void setProjectId(String ProjectId)
ProjectId - Project ID.public String getAlarmRuleId()
public void setAlarmRuleId(String AlarmRuleId)
AlarmRuleId - Specifies the unique id of the Alarm rule, obtained through the GetAlarmRule/ListAlarmRule api.public String getAlarmRuleName()
public void setAlarmRuleName(String AlarmRuleName)
AlarmRuleName - Specifies the new rule name of 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 based on the MonitorType setting:
1 (Task): MonitorObjectIds should be a list of task IDs.
2 (Workflow): MonitorObjectIds should be a list of workflow IDs (workflow IDs can be obtained via the ListWorkflows API).
3 (Project): MonitorObjectIds should be 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
projectFailureInstanceUpwardVolatilityAlarm: Alarm when the upward fluctuation count 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
projectSuccessInstanceDownwardVolatilityAlarm: Alarm when the downward fluctuation count of successful instances for the day exceeds the threshold
projectFailureInstanceCountAlarm: Alarm when the number of failed instances for the day exceeds the threshold
projectFailureInstanceProportionAlarm: Alarm when the proportion of failed instances for the day exceeds the threshold
reconciliationFailure: Alarm when offline reconciliation task fails
reconciliationOvertime: Alarm when offline reconciliation task runs overtime
reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the thresholdpublic 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 getStatus()
public void setStatus(Long Status)
Status - Enable status of the Alarm rule. valid values: 0 (disabled), 1 (enabled).public Long getAlarmLevel()
public void setAlarmLevel(Long AlarmLevel)
AlarmLevel - Alarm level. 1. ordinary, 2. important, 3. critical.public AlarmGroup[] getAlarmGroups()
public void setAlarmGroups(AlarmGroup[] AlarmGroups)
AlarmGroups - Describes the Alarm recipient configuration message.public String getDescription()
public void setDescription(String Description)
Description - Alarm description.Copyright © 2025. All rights reserved.