public static final class DescribeScalingRulesResponseBody.Alarms.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeScalingRulesResponseBody.Alarms.Builder |
alarmTaskId(String alarmTaskId)
The ID of the event-triggered task that is associated with the scaling rule.
|
DescribeScalingRulesResponseBody.Alarms.Builder |
alarmTaskName(String alarmTaskName)
The name of the event-triggered task that is associated with the scaling rule.
|
DescribeScalingRulesResponseBody.Alarms |
build() |
DescribeScalingRulesResponseBody.Alarms.Builder |
comparisonOperator(String comparisonOperator)
The comparison operator between the statistical value and the threshold of the metric of the event-triggered task that is associated with the scaling rule.
|
DescribeScalingRulesResponseBody.Alarms.Builder |
dimensions(List<DescribeScalingRulesResponseBody.Dimensions> dimensions)
The dimensions of the event-triggered task that is associated with the scaling rule.
|
DescribeScalingRulesResponseBody.Alarms.Builder |
evaluationCount(Integer evaluationCount)
The number of consecutive times when the event-triggered task that is associated with the scaling rule must meet the alert condition before an alert is triggered.
|
DescribeScalingRulesResponseBody.Alarms.Builder |
metricName(String metricName)
The name of the metric of the event-triggered task that is associated with the scaling rule.
|
DescribeScalingRulesResponseBody.Alarms.Builder |
metricType(String metricType)
The type of the metric of the event-triggered task that is associated with the scaling rule.
|
DescribeScalingRulesResponseBody.Alarms.Builder |
statistics(String statistics)
The statistical method of the event-triggered task that is associated with the scaling rule.
|
DescribeScalingRulesResponseBody.Alarms.Builder |
threshold(Float threshold)
The alert threshold of the event-triggered task that is associated with the scaling rule.
|
public DescribeScalingRulesResponseBody.Alarms.Builder alarmTaskId(String alarmTaskId)
public DescribeScalingRulesResponseBody.Alarms.Builder alarmTaskName(String alarmTaskName)
public DescribeScalingRulesResponseBody.Alarms.Builder comparisonOperator(String comparisonOperator)
* Valid value if the metric value is greater than or equal to the threshold: >= * Valid value if the metric value is less than or equal to the threshold: <= * Valid value if the metric value is greater than the threshold: > * Valid value if the metric value is less than the threshold: <
public DescribeScalingRulesResponseBody.Alarms.Builder dimensions(List<DescribeScalingRulesResponseBody.Dimensions> dimensions)
public DescribeScalingRulesResponseBody.Alarms.Builder evaluationCount(Integer evaluationCount)
public DescribeScalingRulesResponseBody.Alarms.Builder metricName(String metricName)
public DescribeScalingRulesResponseBody.Alarms.Builder metricType(String metricType)
* system: system metrics * custom: custom metrics
public DescribeScalingRulesResponseBody.Alarms.Builder statistics(String statistics)
* Average * Maximum * Minimum
public DescribeScalingRulesResponseBody.Alarms.Builder threshold(Float threshold)
public DescribeScalingRulesResponseBody.Alarms build()
Copyright © 2024. All rights reserved.