public static final class UpdateDnsGtmMonitorRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateDnsGtmMonitorRequest |
build() |
UpdateDnsGtmMonitorRequest.Builder |
evaluationCount(Integer evaluationCount)
The maximum number of consecutive exceptions detected.
|
UpdateDnsGtmMonitorRequest.Builder |
interval(Integer interval)
The health check interval.
|
UpdateDnsGtmMonitorRequest.Builder |
ispCityNode(List<UpdateDnsGtmMonitorRequest.IspCityNode> ispCityNode)
The monitored nodes.
|
UpdateDnsGtmMonitorRequest.Builder |
lang(String lang)
The language of the values of specific response parameters.
|
UpdateDnsGtmMonitorRequest.Builder |
monitorConfigId(String monitorConfigId)
The ID of the health check configuration.
|
UpdateDnsGtmMonitorRequest.Builder |
monitorExtendInfo(String monitorExtendInfo)
The extended information.
|
UpdateDnsGtmMonitorRequest.Builder |
protocolType(String protocolType)
The protocol used for the health check.
|
UpdateDnsGtmMonitorRequest.Builder |
timeout(Integer timeout)
The timeout period.
|
public UpdateDnsGtmMonitorRequest.Builder evaluationCount(Integer evaluationCount)
The maximum number of consecutive exceptions detected. If the number of consecutive exceptions detected reaches the maximum number, the application service is deemed abnormal.
example:2
public UpdateDnsGtmMonitorRequest.Builder interval(Integer interval)
The health check interval. Unit: seconds.
example:60
public UpdateDnsGtmMonitorRequest.Builder ispCityNode(List<UpdateDnsGtmMonitorRequest.IspCityNode> ispCityNode)
The monitored nodes.
This parameter is required.
public UpdateDnsGtmMonitorRequest.Builder lang(String lang)
The language of the values of specific response parameters. Default value: en. Valid values: en, zh, and ja.
example:en
public UpdateDnsGtmMonitorRequest.Builder monitorConfigId(String monitorConfigId)
The ID of the health check configuration.
This parameter is required.
example:MonitorConfigId1
public UpdateDnsGtmMonitorRequest.Builder monitorExtendInfo(String monitorExtendInfo)
The extended information. The required parameters vary based on the health check protocol.
HTTP or HTTPS
port: the port that you want to check
host: the host settings
path: the URL path
code: the return code. If the return value of code is greater than the specified value, the health check result is deemed abnormal. For example, if code is set to 400 and the code 404 is returned, the health check result is deemed abnormal.
failureRate: the failure rate
sni: specifies whether to enable server name indication (SNI). This parameter is available only when ProtocolType is set to HTTPS. Valid values:
nodeType: the type of the monitoring node when the address pool type is domain name. Valid values:
PING
failureRate: the failure rate
packetNum: the number of ping packets
packetLossRate: the loss rate of ping packets
nodeType: the type of the monitoring node when the address pool type is domain name. Valid values:
TCP
port: the port that you want to check
failureRate: the failure rate
nodeType: the type of the monitoring node when the address pool type is domain name. Valid values:
This parameter is required.
example:{"code":200,"path":"\index.htm","host":"aliyun.com"}
public UpdateDnsGtmMonitorRequest.Builder protocolType(String protocolType)
The protocol used for the health check. Valid values:
This parameter is required.
example:http
public UpdateDnsGtmMonitorRequest.Builder timeout(Integer timeout)
The timeout period. Unit: milliseconds.
example:3000
public UpdateDnsGtmMonitorRequest build()
Copyright © 2026. All rights reserved.