public static final class DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList |
build() |
DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder |
comparisonOperator(String comparisonOperator)
The operator that is used to compare the metric value with the threshold.
|
DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder |
metricName(String metricName)
The metric name.
|
DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder |
period(String period)
The statistical period of the metric.
|
DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder |
statistics(String statistics)
The statistical method of the alert level.
|
DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder |
threshold(String threshold)
The alert threshold.
|
public DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder comparisonOperator(String comparisonOperator)
The operator that is used to compare the metric value with the threshold. Valid values:
GreaterThanOrEqualToThreshold
public DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder metricName(String metricName)
The metric name.
example:cpu_total
public DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder period(String period)
The statistical period of the metric. Unit: seconds. The default value is the interval at which the monitoring data of the metric is collected.
example:60
public DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder statistics(String statistics)
The statistical method of the alert level. Valid values:
Average
public DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder threshold(String threshold)
The alert threshold.
example:90
public DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList build()
Copyright © 2026. All rights reserved.