public static final class PutGroupMetricRuleRequest.Critical.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
PutGroupMetricRuleRequest.Critical |
build() |
PutGroupMetricRuleRequest.Critical.Builder |
comparisonOperator(String comparisonOperator)
The operator that is used to compare the metric value with the threshold for Critical-level alerts.
|
PutGroupMetricRuleRequest.Critical.Builder |
statistics(String statistics)
The statistical methods for Critical-level alerts.
|
PutGroupMetricRuleRequest.Critical.Builder |
threshold(String threshold)
The threshold for Critical-level alerts.
|
PutGroupMetricRuleRequest.Critical.Builder |
times(Integer times)
The consecutive number of times for which the metric value meets the alert condition before a Critical-level alert is triggered.
|
public PutGroupMetricRuleRequest.Critical.Builder comparisonOperator(String comparisonOperator)
The operator that is used to compare the metric value with the threshold for Critical-level alerts. Valid values:
GreaterThanOrEqualToThreshold
public PutGroupMetricRuleRequest.Critical.Builder statistics(String statistics)
The statistical methods for Critical-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
public PutGroupMetricRuleRequest.Critical.Builder threshold(String threshold)
The threshold for Critical-level alerts.
example:90
public PutGroupMetricRuleRequest.Critical.Builder times(Integer times)
The consecutive number of times for which the metric value meets the alert condition before a Critical-level alert is triggered.
example:3
public PutGroupMetricRuleRequest.Critical build()
Copyright © 2026. All rights reserved.