public static final class ModifyHostAvailabilityRequest.AlertConfig.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
ModifyHostAvailabilityRequest.AlertConfig |
build() |
ModifyHostAvailabilityRequest.AlertConfig.Builder |
endTime(Integer endTime)
The ID of the availability monitoring task.
|
ModifyHostAvailabilityRequest.AlertConfig.Builder |
notifyType(Integer notifyType)
The content of the HTTP POST request.
|
ModifyHostAvailabilityRequest.AlertConfig.Builder |
silenceTime(Integer silenceTime)
The interval at which detection requests are sent.
|
ModifyHostAvailabilityRequest.AlertConfig.Builder |
startTime(Integer startTime)
The method used to calculate metric values that trigger alerts.
|
ModifyHostAvailabilityRequest.AlertConfig.Builder |
webHook(String webHook)
The name of the availability monitoring task.
|
public ModifyHostAvailabilityRequest.AlertConfig.Builder endTime(Integer endTime)
public ModifyHostAvailabilityRequest.AlertConfig.Builder notifyType(Integer notifyType)
public ModifyHostAvailabilityRequest.AlertConfig.Builder silenceTime(Integer silenceTime)
> This parameter is available only for the CloudMonitor agent V3.5.1 or later.
public ModifyHostAvailabilityRequest.AlertConfig.Builder startTime(Integer startTime)
* 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.AlertConfig.Builder webHook(String webHook)
public ModifyHostAvailabilityRequest.AlertConfig build()
Copyright © 2023. All rights reserved.