public static final class AddGtmAddressPoolRequest.Builder extends Object
public AddGtmAddressPoolRequest.Builder addr(List<AddGtmAddressPoolRequest.Addr> addr)
The address pools.
This parameter is required.
public AddGtmAddressPoolRequest.Builder evaluationCount(Integer evaluationCount)
The number of consecutive failures.
example:2
public AddGtmAddressPoolRequest.Builder instanceId(String instanceId)
The ID of the GTM instance for which you want to create an address pool.
This parameter is required.
example:gtm-cn-xxxxxxx
public AddGtmAddressPoolRequest.Builder interval(Integer interval)
The health check interval. Unit: seconds. Set the value to 60.
example:60
public AddGtmAddressPoolRequest.Builder ispCityNode(List<AddGtmAddressPoolRequest.IspCityNode> ispCityNode)
The monitored nodes.
public AddGtmAddressPoolRequest.Builder lang(String lang)
The language of the values of specific response parameters.
example:en
public AddGtmAddressPoolRequest.Builder minAvailableAddrNum(Integer minAvailableAddrNum)
The minimum number of available addresses in the address pool.
This parameter is required.
example:2
public AddGtmAddressPoolRequest.Builder monitorExtendInfo(String monitorExtendInfo)
The extended information. The required parameters vary based on the value of ProtocolType.
When ProtocolType is set to HTTP or HTTPS:
When ProtocolType is set to PING:
When ProtocolType is set to TCP:
{"host":"aliyun.com","port":80}
public AddGtmAddressPoolRequest.Builder monitorStatus(String monitorStatus)
Specifies whether to enable the health check. Valid values:
OPEN
public AddGtmAddressPoolRequest.Builder name(String name)
The name of the address pool.
This parameter is required.
example:Alibaba Cloud cluster
public AddGtmAddressPoolRequest.Builder protocolType(String protocolType)
The health check protocol. Valid values:
HTTPS
public AddGtmAddressPoolRequest.Builder timeout(Integer timeout)
The timeout period. Unit: milliseconds. Valid values: 2000, 3000, 5000, and 10000.
example:60
public AddGtmAddressPoolRequest.Builder type(String type)
The type of the address pool. Valid values:
This parameter is required.
example:IP
public AddGtmAddressPoolRequest build()
Copyright © 2026. All rights reserved.