public static final class UpdateDnsGtmAccessStrategyRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateDnsGtmAccessStrategyRequest.Builder |
accessMode(String accessMode)
The primary/secondary switchover policy for address pool sets.
|
UpdateDnsGtmAccessStrategyRequest |
build() |
UpdateDnsGtmAccessStrategyRequest.Builder |
defaultAddrPool(List<UpdateDnsGtmAccessStrategyRequest.DefaultAddrPool> defaultAddrPool)
The address pools in the primary address pool set.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
defaultAddrPoolType(String defaultAddrPoolType)
The type of the primary address pool.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
defaultLatencyOptimization(String defaultLatencyOptimization)
Specifies whether to enable Domain Name System (DNS) resolution with optimal latency for the primary address pool set.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
defaultLbaStrategy(String defaultLbaStrategy)
The load balancing policy of the primary address pool set.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
defaultMaxReturnAddrNum(Integer defaultMaxReturnAddrNum)
The maximum number of addresses returned from the primary address pool set.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
defaultMinAvailableAddrNum(Integer defaultMinAvailableAddrNum)
The minimum number of available addresses in the primary address pool set.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
failoverAddrPool(List<UpdateDnsGtmAccessStrategyRequest.FailoverAddrPool> failoverAddrPool)
The address pools in the secondary address pool set.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
failoverAddrPoolType(String failoverAddrPoolType)
The type of the secondary address pool.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
failoverLatencyOptimization(String failoverLatencyOptimization)
Specifies whether to enable DNS resolution with optimal latency for the secondary address pool set.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
failoverLbaStrategy(String failoverLbaStrategy)
The load balancing policy of the secondary address pool set.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
failoverMaxReturnAddrNum(Integer failoverMaxReturnAddrNum)
The maximum number of addresses returned from the secondary address pool set.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
failoverMinAvailableAddrNum(Integer failoverMinAvailableAddrNum)
The minimum number of available addresses in the secondary address pool set.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
lang(String lang)
The language of the values for specific response parameters.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
lines(String lines)
The line codes of the source regions.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
strategyId(String strategyId)
The ID of the access policy.
|
UpdateDnsGtmAccessStrategyRequest.Builder |
strategyName(String strategyName)
The name of the access policy.
|
public UpdateDnsGtmAccessStrategyRequest.Builder accessMode(String accessMode)
The primary/secondary switchover policy for address pool sets. Valid values:
DEFAULT
public UpdateDnsGtmAccessStrategyRequest.Builder defaultAddrPool(List<UpdateDnsGtmAccessStrategyRequest.DefaultAddrPool> defaultAddrPool)
The address pools in the primary address pool set.
This parameter is required.
public UpdateDnsGtmAccessStrategyRequest.Builder defaultAddrPoolType(String defaultAddrPoolType)
The type of the primary address pool. Valid values:
This parameter is required.
example:ipv4
public UpdateDnsGtmAccessStrategyRequest.Builder defaultLatencyOptimization(String defaultLatencyOptimization)
Specifies whether to enable Domain Name System (DNS) resolution with optimal latency for the primary address pool set. Valid values:
open
public UpdateDnsGtmAccessStrategyRequest.Builder defaultLbaStrategy(String defaultLbaStrategy)
The load balancing policy of the primary address pool set. Valid values:
all_rr
public UpdateDnsGtmAccessStrategyRequest.Builder defaultMaxReturnAddrNum(Integer defaultMaxReturnAddrNum)
The maximum number of addresses returned from the primary address pool set.
example:1
public UpdateDnsGtmAccessStrategyRequest.Builder defaultMinAvailableAddrNum(Integer defaultMinAvailableAddrNum)
The minimum number of available addresses in the primary address pool set.
This parameter is required.
example:1
public UpdateDnsGtmAccessStrategyRequest.Builder failoverAddrPool(List<UpdateDnsGtmAccessStrategyRequest.FailoverAddrPool> failoverAddrPool)
The address pools in the secondary address pool set. If no address pool exists in the secondary address pool set, set this parameter to EMPTY.
public UpdateDnsGtmAccessStrategyRequest.Builder failoverAddrPoolType(String failoverAddrPoolType)
The type of the secondary address pool. Valid values:
ipv4
public UpdateDnsGtmAccessStrategyRequest.Builder failoverLatencyOptimization(String failoverLatencyOptimization)
Specifies whether to enable DNS resolution with optimal latency for the secondary address pool set. Valid values:
open
public UpdateDnsGtmAccessStrategyRequest.Builder failoverLbaStrategy(String failoverLbaStrategy)
The load balancing policy of the secondary address pool set. Valid values:
all_rr
public UpdateDnsGtmAccessStrategyRequest.Builder failoverMaxReturnAddrNum(Integer failoverMaxReturnAddrNum)
The maximum number of addresses returned from the secondary address pool set.
example:1
public UpdateDnsGtmAccessStrategyRequest.Builder failoverMinAvailableAddrNum(Integer failoverMinAvailableAddrNum)
The minimum number of available addresses in the secondary address pool set.
example:1
public UpdateDnsGtmAccessStrategyRequest.Builder lang(String lang)
The language of the values for specific response parameters. Default value: en. Valid values: en, zh, and ja.
example:en
public UpdateDnsGtmAccessStrategyRequest.Builder lines(String lines)
The line codes of the source regions. Example: ["default", "drpeng"], which indicates the global line and Dr. Peng Group line.
["default", "drpeng"]
public UpdateDnsGtmAccessStrategyRequest.Builder strategyId(String strategyId)
The ID of the access policy.
This parameter is required.
example:StrategyId1
public UpdateDnsGtmAccessStrategyRequest.Builder strategyName(String strategyName)
The name of the access policy.
This parameter is required.
example:StrategyName1
public UpdateDnsGtmAccessStrategyRequest build()
Copyright © 2026. All rights reserved.