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