public static final class DescribeHostAvailabilityListResponseBody.TaskOption.Builder extends Object
public DescribeHostAvailabilityListResponseBody.TaskOption.Builder httpKeyword(String httpKeyword)
The response to the HTTP request.
example:OK
public DescribeHostAvailabilityListResponseBody.TaskOption.Builder httpMethod(String httpMethod)
The HTTP request method. Valid values:
GET
public DescribeHostAvailabilityListResponseBody.TaskOption.Builder httpNegative(Boolean httpNegative)
The method to trigger an alert. The alert can be triggered based on whether the specified alert rule is included in the response body. Valid values:
true
public DescribeHostAvailabilityListResponseBody.TaskOption.Builder httpPostContent(String httpPostContent)
The content of the HTTP POST request.
example:params1=paramsValue1
public DescribeHostAvailabilityListResponseBody.TaskOption.Builder httpResponseCharset(String httpResponseCharset)
The character set that is used in the HTTP response.
example:UTF-8
public DescribeHostAvailabilityListResponseBody.TaskOption.Builder httpURI(String httpURI)
The URI that you want to monitor. If the TaskType parameter is set to HTTP, this parameter is required.
example:public DescribeHostAvailabilityListResponseBody.TaskOption.Builder interval(Integer interval)
The interval at which detection requests are sent. Unit: seconds.
example:60
public DescribeHostAvailabilityListResponseBody.TaskOption.Builder telnetOrPingHost(String telnetOrPingHost)
The domain name or IP address that you want to monitor.
example:ssh.aliyun.com
public DescribeHostAvailabilityListResponseBody.TaskOption build()
Copyright © 2026. All rights reserved.