public static final class DescribeGroupMonitoringAgentProcessResponseBody.AlertConfig.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
public DescribeGroupMonitoringAgentProcessResponseBody.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
public DescribeGroupMonitoringAgentProcessResponseBody.AlertConfig.Builder effectiveInterval(String effectiveInterval)
public DescribeGroupMonitoringAgentProcessResponseBody.AlertConfig.Builder escalationsLevel(String escalationsLevel)
* critical * warn * Info
public DescribeGroupMonitoringAgentProcessResponseBody.AlertConfig.Builder noEffectiveInterval(String noEffectiveInterval)
public DescribeGroupMonitoringAgentProcessResponseBody.AlertConfig.Builder silenceTime(String silenceTime)
> Only one alert notification is sent during each mute period even if the metric value exceeds the alert threshold several times.
public DescribeGroupMonitoringAgentProcessResponseBody.AlertConfig.Builder statistics(String statistics)
public DescribeGroupMonitoringAgentProcessResponseBody.AlertConfig.Builder targetList(DescribeGroupMonitoringAgentProcessResponseBody.TargetList targetList)
public DescribeGroupMonitoringAgentProcessResponseBody.AlertConfig.Builder threshold(String threshold)
public DescribeGroupMonitoringAgentProcessResponseBody.AlertConfig.Builder times(String times)
> A metric triggers an alert only after the metric value reaches the threshold consecutively for the specified times.
public DescribeGroupMonitoringAgentProcessResponseBody.AlertConfig.Builder webhook(String webhook)
public DescribeGroupMonitoringAgentProcessResponseBody.AlertConfig build()
Copyright © 2024. All rights reserved.