public static final class ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder |
aggregate(String aggregate)
The method used to calculate the metric values that trigger alerts.
|
ModifyHostAvailabilityRequest.AlertConfigEscalationList |
build() |
ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder |
metricName(String metricName)
The metric for which the alert feature is enabled.
|
ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder |
operator(String operator)
The comparison operator that is used in the alert rule.
|
ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder |
times(Integer times)
The consecutive number of times for which the metric value meets the alert condition before an alert is triggered.
|
ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder |
value(String value)
The alert threshold.
|
public ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder aggregate(String aggregate)
The method used to calculate the metric values that trigger alerts. Valid values of N: 1 to 21. The value of this parameter varies based on the metric. The following items show the correspondence between metrics and calculation methods:
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 ModifyHostAvailabilityRequest.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 ModifyHostAvailabilityRequest.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 ModifyHostAvailabilityRequest.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 ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder value(String value)
The alert threshold. Valid values of N: 1 to 21.
example:3
public ModifyHostAvailabilityRequest.AlertConfigEscalationList build()
Copyright © 2026. All rights reserved.