public static final class DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeMetricRuleTemplateAttributeResponseBody.Info |
build() |
DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder |
comparisonOperator(String comparisonOperator)
The threshold for Info-level alerts.
|
DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder |
statistics(String statistics)
The comparison operator that is used to compare the metric value with the threshold.
|
DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder |
threshold(String threshold)
The conditions for triggering Warn-level alerts.
|
DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder |
times(Integer times)
The statistical method for Info-level alerts.
|
public DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder comparisonOperator(String comparisonOperator)
public DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder statistics(String statistics)
* 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 DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder threshold(String threshold)
public DescribeMetricRuleTemplateAttributeResponseBody.Info.Builder times(Integer times)
The value of the `Statistics` parameter varies with the cloud service. For more information, see [Appendix 1: Metrics](~~163515~~).
public DescribeMetricRuleTemplateAttributeResponseBody.Info build()
Copyright © 2023. All rights reserved.