public static final class CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
* 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 CreateHostAvailabilityRequest.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 CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder operator(String operator)
* `>` * `>=` * `<` * `<=` * `=`
public CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder times(Integer times)
public CreateHostAvailabilityRequest.AlertConfigEscalationList.Builder value(String value)
public CreateHostAvailabilityRequest.AlertConfigEscalationList build()
Copyright © 2024. All rights reserved.