public static final class ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
* HttpStatus: Value * HttpLatency: Average * TelnetStatus: Value * TelnetLatency: Average * PingLostRate: Average > 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.
public ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder metricName(String metricName)
* HttpStatus: HTTP status code * HttpLatency: HTTP response time * TelnetStatus: Telnet status code * TelnetLatency: Telnet response time * PingLostRate: Ping packet loss rate
public ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder operator(String operator)
* `>` * `>=` * `<` * `<=` * `=`
public ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder times(Integer times)
public ModifyHostAvailabilityRequest.AlertConfigEscalationList.Builder value(String value)
public ModifyHostAvailabilityRequest.AlertConfigEscalationList build()
Copyright © 2024. All rights reserved.