public static final class UpdateGtmMonitorRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateGtmMonitorRequest |
build() |
UpdateGtmMonitorRequest.Builder |
evaluationCount(Integer evaluationCount)
The maximum number of consecutive exceptions detected.
|
UpdateGtmMonitorRequest.Builder |
interval(Integer interval)
The health check interval.
|
UpdateGtmMonitorRequest.Builder |
ispCityNode(List<UpdateGtmMonitorRequest.IspCityNode> ispCityNode)
The monitored nodes.
|
UpdateGtmMonitorRequest.Builder |
lang(String lang)
The language of the values of specific response parameters.
|
UpdateGtmMonitorRequest.Builder |
monitorConfigId(String monitorConfigId)
The ID of the health check configuration.
|
UpdateGtmMonitorRequest.Builder |
monitorExtendInfo(String monitorExtendInfo)
The extended information, that is, the parameters required for the protocol.
|
UpdateGtmMonitorRequest.Builder |
protocolType(String protocolType)
The protocol used for the health check.
|
UpdateGtmMonitorRequest.Builder |
timeout(Integer timeout)
The health check timeout period.
|
public UpdateGtmMonitorRequest.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:3
public UpdateGtmMonitorRequest.Builder interval(Integer interval)
The health check interval. Unit: seconds. Set the value to 60.
example:60
public UpdateGtmMonitorRequest.Builder ispCityNode(List<UpdateGtmMonitorRequest.IspCityNode> ispCityNode)
The monitored nodes.
This parameter is required.
public UpdateGtmMonitorRequest.Builder lang(String lang)
The language of the values of specific response parameters.
example:en
public UpdateGtmMonitorRequest.Builder monitorConfigId(String monitorConfigId)
The ID of the health check configuration.
This parameter is required.
example:1234abc
public UpdateGtmMonitorRequest.Builder monitorExtendInfo(String monitorExtendInfo)
The extended information, that is, the parameters required for the protocol. Different protocols require different parameters:
HTTP or HTTPS:
PING:
TCP:
This parameter is required.
example:{"code":200,"path":"\index.htm","host":"aliyun.com"}
public UpdateGtmMonitorRequest.Builder protocolType(String protocolType)
The protocol used for the health check.
This parameter is required.
example:HTTP
public UpdateGtmMonitorRequest.Builder timeout(Integer timeout)
The health check timeout period. Unit: milliseconds. Valid values: 2000, 3000, 5000, and 10000.
example:3000
public UpdateGtmMonitorRequest build()
Copyright © 2026. All rights reserved.