public static final class DescribeHostAvailabilityListResponseBody.AlertConfig.Builder extends Object
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder endTime(Integer endTime)
The end of the time period during which the alert rule is effective. Valid values: 0 to 23.
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.
example:Alert notifications are sent based on the specified threshold only if the alert rule is effective.
22
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder escalationList(DescribeHostAvailabilityListResponseBody.AlertConfigEscalationList escalationList)
The trigger conditions of the alert rule.
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder notifyType(Integer notifyType)
The alert notification methods. Valid values:
0
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder silenceTime(Integer silenceTime)
The mute period during which new alerts are not sent even if the trigger conditions are met. Unit: seconds. Default value: 86400.
example:86400
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder startTime(Integer startTime)
The beginning of the time period during which the alert rule is effective. Valid values: 0 to 23.
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.
example:Alert notifications are sent based on the specified threshold only if the alert rule is effective.
0
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder targetList(DescribeHostAvailabilityListResponseBody.TargetList targetList)
The monitored resources.
public DescribeHostAvailabilityListResponseBody.AlertConfig.Builder webHook(String webHook)
The callback URL.
CloudMonitor pushes an alert notification to the specified callback URL by sending an HTTP POST request. Only the HTTP protocol is supported.
example:public DescribeHostAvailabilityListResponseBody.AlertConfig build()
Copyright © 2026. All rights reserved.