public static final class CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder extends Object
构造器和说明 |
---|
Builder() |
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder comparisonOperator(String comparisonOperator)
* GreaterThanOrEqualToThreshold: greater than or equal to the threshold * GreaterThanThreshold: greater than the threshold * LessThanOrEqualToThreshold: less than or equal to the threshold * LessThanThreshold: less than the threshold * NotEqualToThreshold: not equal to the threshold * GreaterThanYesterday: greater than the metric value at the same time yesterday * LessThanYesterday: less than the metric value at the same time yesterday * GreaterThanLastWeek: greater than the metric value at the same time last week * LessThanLastWeek: less than the metric value at the same time last week * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle * LessThanLastPeriod: less than the metric value in the last monitoring cycle Valid values of N: 1 to 3.
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder effectiveInterval(String effectiveInterval)
Valid values of N: 1 to 3.
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder escalationsLevel(String escalationsLevel)
* critical (default value): Critical * Warn * Info Valid values of N: 1 to 3.
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder noEffectiveInterval(String noEffectiveInterval)
Valid values of N: 1 to 3.
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder silenceTime(String silenceTime)
Valid values of N: 1 to 3. > Only one alert notification is sent during each mute period even if the metric value exceeds the alert threshold several times.
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder statistics(String statistics)
Valid values of N: 1 to 3. > Set the value to Average.
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder targetList(List<CreateGroupMonitoringAgentProcessRequest.TargetList> targetList)
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder threshold(String threshold)
Valid values of N: 1 to 3.
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder times(String times)
Valid values of N: 1 to 3. > An alert is triggered only if the number of times for which the threshold can be consecutively exceeded is reached.
public CreateGroupMonitoringAgentProcessRequest.AlertConfig.Builder webhook(String webhook)
Valid values of N: 1 to 3.
public CreateGroupMonitoringAgentProcessRequest.AlertConfig build()
Copyright © 2023. All rights reserved.