public class CreateStrategyRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateStrategyRequest() |
CreateStrategyRequest(CreateStrategyRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
MainAddressPool[] |
getFallbackAddressPoolSet()
Get 兜底地址池集合,只允许配置一级,且地址池数量为1
|
String |
getInstanceId()
Get 实例id
|
String |
getKeepDomainRecords()
Get 是否开启策略强制保留默认线路 disabled, enabled,默认不开启且只有一个策略能开启
|
MainAddressPool[] |
getMainAddressPoolSet()
Get 主力地址池集合,最多允许配置四级
|
Source[] |
getSource()
Get 解析线路
|
String |
getStrategyName()
Get 策略名称,不允许重复
|
String |
getSwitchPoolType()
Get 策略调度模式:AUTO默认切换;STOP仅暂停不切换
|
void |
setFallbackAddressPoolSet(MainAddressPool[] FallbackAddressPoolSet)
Set 兜底地址池集合,只允许配置一级,且地址池数量为1
|
void |
setInstanceId(String InstanceId)
Set 实例id
|
void |
setKeepDomainRecords(String KeepDomainRecords)
Set 是否开启策略强制保留默认线路 disabled, enabled,默认不开启且只有一个策略能开启
|
void |
setMainAddressPoolSet(MainAddressPool[] MainAddressPoolSet)
Set 主力地址池集合,最多允许配置四级
|
void |
setSource(Source[] Source)
Set 解析线路
|
void |
setStrategyName(String StrategyName)
Set 策略名称,不允许重复
|
void |
setSwitchPoolType(String SwitchPoolType)
Set 策略调度模式:AUTO默认切换;STOP仅暂停不切换
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateStrategyRequest()
public CreateStrategyRequest(CreateStrategyRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 实例idpublic String getStrategyName()
public void setStrategyName(String StrategyName)
StrategyName
- 策略名称,不允许重复public Source[] getSource()
public void setSource(Source[] Source)
Source
- 解析线路public MainAddressPool[] getMainAddressPoolSet()
public void setMainAddressPoolSet(MainAddressPool[] MainAddressPoolSet)
MainAddressPoolSet
- 主力地址池集合,最多允许配置四级public MainAddressPool[] getFallbackAddressPoolSet()
public void setFallbackAddressPoolSet(MainAddressPool[] FallbackAddressPoolSet)
FallbackAddressPoolSet
- 兜底地址池集合,只允许配置一级,且地址池数量为1public String getKeepDomainRecords()
public void setKeepDomainRecords(String KeepDomainRecords)
KeepDomainRecords
- 是否开启策略强制保留默认线路 disabled, enabled,默认不开启且只有一个策略能开启public String getSwitchPoolType()
public void setSwitchPoolType(String SwitchPoolType)
SwitchPoolType
- 策略调度模式:AUTO默认切换;STOP仅暂停不切换Copyright © 2025. All rights reserved.