Class SwitchConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.models.SwitchConfig
-
public class SwitchConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SwitchConfig()SwitchConfig(SwitchConfig 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetWebSwitch()Get Web类型的安全总开关,取值有: on:开启; off:关闭。不影响DDoS与Bot的开关。voidsetWebSwitch(String WebSwitch)Set Web类型的安全总开关,取值有: on:开启; off:关闭。不影响DDoS与Bot的开关。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
SwitchConfig
public SwitchConfig()
-
SwitchConfig
public SwitchConfig(SwitchConfig 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.
-
-
Method Detail
-
getWebSwitch
public String getWebSwitch()
Get Web类型的安全总开关,取值有:- on:开启;
- off:关闭。
不影响DDoS与Bot的开关。- Returns:
- WebSwitch Web类型的安全总开关,取值有:
- on:开启;
- off:关闭。
不影响DDoS与Bot的开关。
-
setWebSwitch
public void setWebSwitch(String WebSwitch)
Set Web类型的安全总开关,取值有:- on:开启;
- off:关闭。
不影响DDoS与Bot的开关。- Parameters:
WebSwitch- Web类型的安全总开关,取值有:- on:开启;
- off:关闭。
不影响DDoS与Bot的开关。
-
-