public static final class DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder dimensions(String dimensions)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder enable(String enable)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder escalation(DescribeAlertingMetricRuleResourcesResponseBody.Escalation escalation)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder groupId(String groupId)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder lastAlertTime(String lastAlertTime)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder lastModifyTime(String lastModifyTime)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder level(Integer level)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder metricName(String metricName)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder metricValues(String metricValues)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder namespace(String namespace)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder productCategory(String productCategory)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder resource(String resource)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder retryTimes(String retryTimes)
* 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.ResourcesResource.Builder ruleId(String ruleId)
> This parameter is the content of the alert rule. If the metric value meets the alert condition, an alert is triggered.
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder ruleName(String ruleName)
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder startTime(String startTime)
* 4: Alert notifications are sent by using emails and DingTalk chatbots. * OK: No alert is generated.
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder statistics(String statistics)
* true: The alert rule is enabled. * false: The alert rule is disabled.
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource.Builder threshold(String threshold)
Default value: 1.
public DescribeAlertingMetricRuleResourcesResponseBody.ResourcesResource build()
Copyright © 2023. All rights reserved.