public static class PutResourceMetricRuleShrinkRequest.PutResourceMetricRuleShrinkRequestEscalationsInfo
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
comparisonOperator
The operator that is used to compare the metric value with the threshold for Info-level alerts.
|
String |
statistics
The statistical methods for Info-level alerts.
|
String |
threshold
The threshold for Info-level alerts.
|
Integer |
times
The consecutive number of times for which the metric value meets the alert condition before an Info-level alert is triggered.
|
| 构造器和说明 |
|---|
PutResourceMetricRuleShrinkRequestEscalationsInfo() |
@NameInMap(value="ComparisonOperator") public String comparisonOperator
The operator that is used to compare the metric value with the threshold for Info-level alerts. Valid value:
example:You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
GreaterThanOrEqualToThreshold
@NameInMap(value="Statistics") public String statistics
The statistical methods for Info-level alerts.
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.
example:You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
Average
@NameInMap(value="Threshold") public String threshold
The threshold for Info-level alerts.
example:You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
90
@NameInMap(value="Times") public Integer times
The consecutive number of times for which the metric value meets the alert condition before an Info-level alert is triggered.
example:You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
3
public PutResourceMetricRuleShrinkRequestEscalationsInfo()
public static PutResourceMetricRuleShrinkRequest.PutResourceMetricRuleShrinkRequestEscalationsInfo build(Map<String,?> map) throws Exception
Exceptionpublic PutResourceMetricRuleShrinkRequest.PutResourceMetricRuleShrinkRequestEscalationsInfo setComparisonOperator(String comparisonOperator)
public String getComparisonOperator()
public PutResourceMetricRuleShrinkRequest.PutResourceMetricRuleShrinkRequestEscalationsInfo setStatistics(String statistics)
public String getStatistics()
public PutResourceMetricRuleShrinkRequest.PutResourceMetricRuleShrinkRequestEscalationsInfo setThreshold(String threshold)
public String getThreshold()
public PutResourceMetricRuleShrinkRequest.PutResourceMetricRuleShrinkRequestEscalationsInfo setTimes(Integer times)
public Integer getTimes()
Copyright © 2026. All rights reserved.