public static final class CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder |
aggregate(String aggregate)
The method used to calculate the metric values that trigger alerts.
|
CreateHostAvailabilityRequest.AlertConfigEscalationList |
build() |
CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder |
metricName(String metricName)
The metric for which the alert feature is enabled.
|
CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder |
operator(String operator)
The comparison operator that is used in the alert rule.
|
CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder |
times(Integer times)
The consecutive number of times for which the metric value meets the alert condition before an alert is triggered.
|
CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder |
value(String value)
The alert threshold.
|
public CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder aggregate(String aggregate)
The method used to calculate the metric values that trigger alerts. Valid values of N: 1 to 21. Valid values:
example:The value Value indicates the original value and is used for metrics such as status codes. The value Average indicates the average value and is used for metrics such as the latency and packet loss rate.
Value
public CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder metricName(String metricName)
The metric for which the alert feature is enabled. Valid values of N: 1 to 21. Valid values:
This parameter is required.
example:HttpStatus
public CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder operator(String operator)
The comparison operator that is used in the alert rule. Valid values of N: 1 to 21. Valid values:
>>=<<==public CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder times(Integer times)
The consecutive number of times for which the metric value meets the alert condition before an alert is triggered. Valid values of N: 1 to 21.
example:3
public CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder value(String value)
The alert threshold. Valid values of N: 1 to 21.
example:90
public CreateHostAvailabilityRequest.AlertConfigEscalationList build()
Copyright © 2026. All rights reserved.