public static final class DescribeActiveMetricRuleListResponseBody.Warn.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeActiveMetricRuleListResponseBody.Warn |
build() |
DescribeActiveMetricRuleListResponseBody.Warn.Builder |
comparisonOperator(String comparisonOperator)
The operator that is used to compare the metric value with the threshold for Warn-level alerts.
|
DescribeActiveMetricRuleListResponseBody.Warn.Builder |
statistics(String statistics)
The statistical methods for Warn-level alerts.
|
DescribeActiveMetricRuleListResponseBody.Warn.Builder |
threshold(String threshold)
The threshold for Warn-level alerts.
|
DescribeActiveMetricRuleListResponseBody.Warn.Builder |
times(String times)
The consecutive number of times
for which the metric value meets the alert condition before a Warn-level alert is triggered.
|
public DescribeActiveMetricRuleListResponseBody.Warn.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 DescribeActiveMetricRuleListResponseBody.Warn.Builder statistics(String statistics)
public DescribeActiveMetricRuleListResponseBody.Warn.Builder threshold(String threshold)
public DescribeActiveMetricRuleListResponseBody.Warn.Builder times(String times)
for which the metric value meets the alert condition before a Warn-level alert is triggered.
public DescribeActiveMetricRuleListResponseBody.Warn build()
Copyright © 2024. All rights reserved.