public static final class DescribeAlertingMetricRuleResourcesResponseBody.Resource.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeAlertingMetricRuleResourcesResponseBody.Resource.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.Resource.Builder expression(String expression)
Unit: milliseconds.
public DescribeAlertingMetricRuleResourcesResponseBody.Resource.Builder expressionList(DescribeAlertingMetricRuleResourcesResponseBody.ResourceExpressionList expressionList)
public DescribeAlertingMetricRuleResourcesResponseBody.Resource.Builder expressionListJoin(String expressionListJoin)
public DescribeAlertingMetricRuleResourcesResponseBody.Resource.Builder expressionRaw(String expressionRaw)
public DescribeAlertingMetricRuleResourcesResponseBody.Resource.Builder level(Integer level)
public DescribeAlertingMetricRuleResourcesResponseBody.Resource.Builder preCondition(String preCondition)
public DescribeAlertingMetricRuleResourcesResponseBody.Resource.Builder tag(String tag)
Default value: 10.
public DescribeAlertingMetricRuleResourcesResponseBody.Resource.Builder threshold(String threshold)
* 4: Alert notifications are sent by using emails and DingTalk chatbots. * OK: No alert is generated.
public DescribeAlertingMetricRuleResourcesResponseBody.Resource.Builder times(Integer times)
public DescribeAlertingMetricRuleResourcesResponseBody.Resource build()
Copyright © 2023. All rights reserved.