public static final class DescribeHostAvailabilityListResponseBody.AlertConfig.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder endTime(Integer endTime)
For example, if the `AlertConfig.StartTime` parameter is set to 0 and the `AlertConfig.EndTime` parameter is set to 22, the alert rule is effective from 00:00:00 to 22:00:00. > Alert notifications are sent based on the specified threshold only if the alert rule is effective.
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder escalationList(DescribeHostAvailabilityListResponseBody.AlertConfigEscalationList escalationList)
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder notifyType(Integer notifyType)
0: Alert notifications are sent by using emails and DingTalk chatbots.
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder silenceTime(Integer silenceTime)
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder startTime(Integer startTime)
For example, if the `AlertConfig.StartTime` parameter is set to 0 and the `AlertConfig.EndTime` parameter is set to 22, the alert rule is effective from 00:00:00 to 22:00:00. > Alert notifications are sent based on the specified threshold only if the alert rule is effective.
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder targetList(DescribeHostAvailabilityListResponseBody.TargetList targetList)
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder webHook(String webHook)
CloudMonitor pushes an alert notification to the specified callback URL by sending an HTTP POST request. Only the HTTP protocol is supported.
public DescribeHostAvailabilityListResponseBody.AlertConfig build()
Copyright © 2024. All rights reserved.