public static final class DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeMetricRuleTemplateAttributeResponseBody.Info |
build() |
DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder |
comparisonOperator(String comparisonOperator)
The comparison operator that is used to compare the metric value with the threshold for Info-level alerts.
|
DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder |
statistics(String statistics)
The statistical method for Info-level alerts.
|
DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder |
threshold(String threshold)
The threshold for Info-level alerts.
|
DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder |
times(Integer times)
The consecutive number of times for which the metric value meets the alert condition before an Info-level alert is triggered.
|
public DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder comparisonOperator(String comparisonOperator)
The comparison operator that is used to compare the metric value with the threshold for Info-level alerts. Valid values:
GreaterThanOrEqualToThreshold
public DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder statistics(String statistics)
The statistical method for Info-level alerts.
The value of the Statistics parameter varies with the cloud service. For more information, see Appendix 1: Metrics.
Average
public DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder threshold(String threshold)
The threshold for Info-level alerts.
example:90
public DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder times(Integer times)
The consecutive number of times for which the metric value meets the alert condition before an Info-level alert is triggered.
example:3
public DescribeMetricRuleTemplateAttributeResponseBody.Info build()
Copyright © 2026. All rights reserved.