public static class PutGroupMetricRuleRequest.PutGroupMetricRuleRequestEscalationsWarn
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
comparisonOperator
The operator that is used to compare the metric value with the threshold for Warn-level alerts.
|
String |
statistics
The statistical methods for Warn-level alerts.
|
String |
threshold
The threshold for Warn-level alerts.
|
Integer |
times
The consecutive number of times for which the metric value meets the alert condition before a Warn-level alert is triggered.
|
| 构造器和说明 |
|---|
PutGroupMetricRuleRequestEscalationsWarn() |
@NameInMap(value="ComparisonOperator") public String comparisonOperator
The operator that is used to compare the metric value with the threshold for Warn-level alerts. Valid values:
GreaterThanOrEqualToThreshold
@NameInMap(value="Statistics") public String statistics
The statistical methods for Warn-level alerts. Separate multiple statistical methods with commas (,).
The value of this parameter is determined by the Statistics column corresponding to the MetricName parameter of the specified cloud service. The value of this parameter can be Maximum, Minimum, or Average. For more information about how to obtain the value of this parameter, see Appendix 1: Metrics.
Average
@NameInMap(value="Threshold") public String threshold
The threshold for Warn-level alerts.
example:90
@NameInMap(value="Times") public Integer times
The consecutive number of times for which the metric value meets the alert condition before a Warn-level alert is triggered.
example:3
public static PutGroupMetricRuleRequest.PutGroupMetricRuleRequestEscalationsWarn build(Map<String,?> map) throws Exception
Exceptionpublic PutGroupMetricRuleRequest.PutGroupMetricRuleRequestEscalationsWarn setComparisonOperator(String comparisonOperator)
public String getComparisonOperator()
public PutGroupMetricRuleRequest.PutGroupMetricRuleRequestEscalationsWarn setStatistics(String statistics)
public String getStatistics()
public PutGroupMetricRuleRequest.PutGroupMetricRuleRequestEscalationsWarn setThreshold(String threshold)
public String getThreshold()
public PutGroupMetricRuleRequest.PutGroupMetricRuleRequestEscalationsWarn setTimes(Integer times)
public Integer getTimes()
Copyright © 2026. All rights reserved.