public static final class DescribeMetricRuleTemplateAttributeResponseBody.Critical.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeMetricRuleTemplateAttributeResponseBody.Critical |
build() |
DescribeMetricRuleTemplateAttributeResponseBody.Critical.Builder |
comparisonOperator(String comparisonOperator)
The comparison operator that is used to compare the metric value with the threshold for Critical-level alerts.
|
DescribeMetricRuleTemplateAttributeResponseBody.Critical.Builder |
statistics(String statistics)
The statistical method for Critical-level alerts.
|
DescribeMetricRuleTemplateAttributeResponseBody.Critical.Builder |
threshold(String threshold)
The threshold for Critical-level alerts.
|
DescribeMetricRuleTemplateAttributeResponseBody.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 DescribeMetricRuleTemplateAttributeResponseBody.Critical.Builder comparisonOperator(String comparisonOperator)
The comparison operator that is used to compare the metric value with the threshold for Critical-level alerts. Valid values:
GreaterThanOrEqualToThreshold
public DescribeMetricRuleTemplateAttributeResponseBody.Critical.Builder statistics(String statistics)
The statistical method for Critical-level alerts.
The value of the Statistics parameter varies with the cloud service. For more information, see Appendix 1: Metrics.
Average
public DescribeMetricRuleTemplateAttributeResponseBody.Critical.Builder threshold(String threshold)
The threshold for Critical-level alerts.
example:90
public DescribeMetricRuleTemplateAttributeResponseBody.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:5
public DescribeMetricRuleTemplateAttributeResponseBody.Critical build()
Copyright © 2026. All rights reserved.