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)
The operator that is used to compare the metric value with the threshold for Warn-level alerts. Valid values:
GreaterThanThreshold
public DescribeActiveMetricRuleListResponseBody.Warn.Builder statistics(String statistics)
The statistical methods for Warn-level alerts.
example:Average
public DescribeActiveMetricRuleListResponseBody.Warn.Builder threshold(String threshold)
The threshold for Warn-level alerts.
example:80
public 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.
example:3
public DescribeActiveMetricRuleListResponseBody.Warn build()
Copyright © 2024. All rights reserved.