public static final class AddGtmAccessStrategyRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AddGtmAccessStrategyRequest.Builder |
accessLines(String accessLines)
The line codes of access regions.
|
AddGtmAccessStrategyRequest |
build() |
AddGtmAccessStrategyRequest.Builder |
defaultAddrPoolId(String defaultAddrPoolId)
The ID of the default address pool.
|
AddGtmAccessStrategyRequest.Builder |
failoverAddrPoolId(String failoverAddrPoolId)
The ID of the failover address pool.
|
AddGtmAccessStrategyRequest.Builder |
instanceId(String instanceId)
The ID of the GTM instance for which you want to create an access policy.
|
AddGtmAccessStrategyRequest.Builder |
lang(String lang)
The language used by the user.
|
AddGtmAccessStrategyRequest.Builder |
strategyName(String strategyName)
The name of the access policy.
|
public AddGtmAccessStrategyRequest.Builder accessLines(String accessLines)
The line codes of access regions.
This parameter is required.
example:["default", "drpeng"]
public AddGtmAccessStrategyRequest.Builder defaultAddrPoolId(String defaultAddrPoolId)
The ID of the default address pool.
This parameter is required.
example:hrsix
public AddGtmAccessStrategyRequest.Builder failoverAddrPoolId(String failoverAddrPoolId)
The ID of the failover address pool.
If the failover address pool is not set, pass the Empty value.
This parameter is required.
example:hrsyw
public AddGtmAccessStrategyRequest.Builder instanceId(String instanceId)
The ID of the GTM instance for which you want to create an access policy.
This parameter is required.
example:instance1
public AddGtmAccessStrategyRequest.Builder lang(String lang)
The language used by the user.
example:en
public AddGtmAccessStrategyRequest.Builder strategyName(String strategyName)
The name of the access policy.
This parameter is required.
public AddGtmAccessStrategyRequest build()
Copyright © 2026. All rights reserved.