public static final class SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder extends Object
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder cloudGtmMonitorTemplateId(String cloudGtmMonitorTemplateId)
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder createTime(String createTime)
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder createTimestamp(Long createTimestamp)
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder evaluationCount(Integer evaluationCount)
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder extendInfo(String extendInfo)
The extended information. The value of this parameter is a JSON string. The required parameters vary based on the health check protocol. Valid values:
http(s):
host: indicates the Host field of an HTTP or HTTPS request header during an HTTP or HTTPS health check. The parameter value indicates the HTTP website that you want to visit. By default, the value is the primary domain name. You can change the value based on your business requirements.
path: the URL for HTTP or HTTPS health checks. Default value: /.
code: indicates the alert threshold. During an HTTP or HTTPS health check, the system checks whether a web server functions as expected based on the status code that is returned from the web server. If the returned status code is greater than the specified threshold, the corresponding application service address is deemed abnormal. Valid values:
sni: indicates whether Server Name Indication (SNI) is enabled for HTTPS. SNI is an extension to the Transport Layer Security (TLS) protocol, which allows a client to specify the host to be connected when the client sends a TLS handshake request. TLS handshakes occur before any data of HTTP requests is sent. Therefore, SNI enables servers to identify the services that clients are attempting to access before certificates are sent. This allows the servers to present correct certificates to the clients. Valid values:
followRedirect: indicates whether 3XX redirection is followed. Valid values:
ping:
packetNum: The total number of Internet Control Message Protocol (ICMP) packets that are sent to the address for each ping-based health check. Valid values: 20, 50, and 100.
packetLossRate: The packet loss rate for each ping-based health check. The packet loss rate in a check can be calculated by using the following formula: Packet loss rate = (Number of lost packets/Total number of sent ICMP packets) × 100%. If the packet loss rate reaches the threshold, an alert is triggered. Valid values: 10, 30, 40, 80, 90, and 100.
{"code":200,"path":"\index.htm","host":"aliyun.com"}
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder failureRate(Integer failureRate)
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder interval(Integer interval)
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder ipVersion(String ipVersion)
The IP address type of health check nodes. Valid values:
IPv4
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder ispCityNodes(SearchCloudGtmMonitorTemplatesResponseBody.IspCityNodes ispCityNodes)
The health check nodes.
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder name(String name)
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder protocol(String protocol)
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder remark(String remark)
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder templateId(String templateId)
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder timeout(Integer timeout)
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder updateTime(String updateTime)
public SearchCloudGtmMonitorTemplatesResponseBody.Template.Builder updateTimestamp(Long updateTimestamp)
public SearchCloudGtmMonitorTemplatesResponseBody.Template build()
Copyright © 2026. All rights reserved.