public static final class AddDnsGtmAddressPoolRequest.Addr.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AddDnsGtmAddressPoolRequest.Addr.Builder |
addr(String addr)
The address in the address pool.
|
AddDnsGtmAddressPoolRequest.Addr.Builder |
attributeInfo(String attributeInfo)
The information about the source region of the address.
|
AddDnsGtmAddressPoolRequest.Addr |
build() |
AddDnsGtmAddressPoolRequest.Addr.Builder |
lbaWeight(Integer lbaWeight)
The weight of the address.
|
AddDnsGtmAddressPoolRequest.Addr.Builder |
mode(String mode)
The return mode of the addresses: Valid values:
SMART: smart return
ONLINE: always online
OFFLINE: always offline
This parameter is required.
|
AddDnsGtmAddressPoolRequest.Addr.Builder |
remark(String remark)
The description of the address pool.
|
public AddDnsGtmAddressPoolRequest.Addr.Builder addr(String addr)
The address in the address pool.
This parameter is required.
example:1.1.1.1
public AddDnsGtmAddressPoolRequest.Addr.Builder attributeInfo(String attributeInfo)
The information about the source region of the address. The value of this parameter is a JSON string. Valid values:
lineCode: the line code of the source region for the address
lineCodeRectifyType: the rectification type of the line code. Default value: AUTO. Valid values:
This parameter is required.
example:default
public AddDnsGtmAddressPoolRequest.Addr.Builder lbaWeight(Integer lbaWeight)
The weight of the address.
example:1
public AddDnsGtmAddressPoolRequest.Addr.Builder mode(String mode)
The return mode of the addresses: Valid values:
This parameter is required.
example:online
public AddDnsGtmAddressPoolRequest.Addr.Builder remark(String remark)
The description of the address pool.
example:test
public AddDnsGtmAddressPoolRequest.Addr build()
Copyright © 2026. All rights reserved.