public static final class ModifyGroupMonitoringAgentProcessRequest.AlertConfig.Builder extends Object
public ModifyGroupMonitoringAgentProcessRequest.AlertConfig.Builder comparisonOperator(String comparisonOperator)
The comparison operator that is used to compare the metric value with the threshold. Valid values of N: 1 to 200. Valid values:
This parameter is required.
example:GreaterThanOrEqualToThreshold
public ModifyGroupMonitoringAgentProcessRequest.AlertConfig.Builder effectiveInterval(String effectiveInterval)
The time period during which the alert rule is effective. Valid values of N: 1 to 200.
example:00:00-22:59
public ModifyGroupMonitoringAgentProcessRequest.AlertConfig.Builder escalationsLevel(String escalationsLevel)
The level of the alert. Valid values of N: 1 to 200. Valid values:
This parameter is required.
example:warn
public ModifyGroupMonitoringAgentProcessRequest.AlertConfig.Builder noEffectiveInterval(String noEffectiveInterval)
The time period during which the alert rule is ineffective. Valid values of N: 1 to 200.
example:23:00-23:59
public ModifyGroupMonitoringAgentProcessRequest.AlertConfig.Builder silenceTime(String silenceTime)
The mute period during which new alerts are not sent even if the trigger conditions are met. Valid values of N: 1 to 200.
Unit: seconds. Minimum value: 3600, which is equivalent to one hour. Default value: 86400, which is equivalent to one day.
example:Only one alert notification is sent during a mute period even if the metric value exceeds the alert threshold during consecutive checks.
86400
public ModifyGroupMonitoringAgentProcessRequest.AlertConfig.Builder statistics(String statistics)
The statistical aggregation method that is used to calculate the metric values. Valid values of N: 1 to 200.
example:Set the value to Average.
Average
public ModifyGroupMonitoringAgentProcessRequest.AlertConfig.Builder targetList(List<ModifyGroupMonitoringAgentProcessRequest.TargetList> targetList)
The alert trigger.
public ModifyGroupMonitoringAgentProcessRequest.AlertConfig.Builder threshold(String threshold)
The alert threshold. Valid values of N: 1 to 200.
This parameter is required.
example:5
public ModifyGroupMonitoringAgentProcessRequest.AlertConfig.Builder times(String times)
The number of times for which the threshold can be consecutively exceeded. Valid values of N: 1 to 200. Default value: 3.
A metric triggers an alert only after the metric value reaches the threshold consecutively for the specified times.
This parameter is required.
example:3
public ModifyGroupMonitoringAgentProcessRequest.AlertConfig.Builder webhook(String webhook)
The callback URL to which a POST request is sent when an alert is triggered based on the alert rule. Valid values of N: 1 to 200.
example:public ModifyGroupMonitoringAgentProcessRequest.AlertConfig build()
Copyright © 2026. All rights reserved.