public static final class CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder extends Object
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder comparisonOperator(String comparisonOperator)
The operator that is used to compare the metric value with the threshold. Valid values:
Valid values of N: 1 to 3.
This parameter is required.
example:GreaterThanOrEqualToThreshold
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder effectiveInterval(String effectiveInterval)
The period of time during which the alert rule is effective.
Valid values of N: 1 to 3.
example:00:00-23:59
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder escalationsLevel(String escalationsLevel)
The alert level. Valid values:
Valid values of N: 1 to 3.
This parameter is required.
example:warn
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder noEffectiveInterval(String noEffectiveInterval)
This parameter is deprecated.
example:00:00-23:59
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder silenceTime(String silenceTime)
The mute period during which new alert notifications are not sent even if the trigger conditions are met. Unit: seconds. Minimum value: 3600, which is equivalent to one hour. Default value: 86400, which is equivalent to one day.
Valid values of N: 1 to 3.
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 CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder statistics(String statistics)
The statistical aggregation method that is used to calculate the metric values.
Valid values of N: 1 to 3.
Set the value to Average.
This parameter is required.
example:Average
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder targetList(List<CreateGroupMonitoringAgentProcessRequest.TargetList> targetList)
The alert triggers.
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder threshold(String threshold)
The alert threshold.
Valid values of N: 1 to 3.
This parameter is required.
example:5
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder times(String times)
The number of times for which the threshold can be consecutively exceeded. Default value: 3.
Valid values of N: 1 to 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 CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder webhook(String webhook)
public CreateGroupMonitoringAgentProcessRequest.AlertConfig build()
Copyright © 2026. All rights reserved.