public static final class DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
* 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
public DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder metricName(String metricName)
public DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder period(String period)
public DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder statistics(String statistics)
* Maximum * Minimum * Average
public DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList.Builder threshold(String threshold)
public DescribeAlertingMetricRuleResourcesResponseBody.ExpressionList build()
Copyright © 2024. All rights reserved.