Class IpTableConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.models.IpTableConfig
-
public class IpTableConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description IpTableConfig()IpTableConfig(IpTableConfig 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 IpTableRule[]getIpTableRules()Get 基础管控规则。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。StringgetSwitch()Get 开关,取值有: on:开启; off:关闭; 注意:此字段可能返回 null,表示取不到有效值。voidsetIpTableRules(IpTableRule[] IpTableRules)Set 基础管控规则。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。voidsetSwitch(String Switch)Set 开关,取值有: on:开启; off:关闭; 注意:此字段可能返回 null,表示取不到有效值。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
-
IpTableConfig
public IpTableConfig()
-
IpTableConfig
public IpTableConfig(IpTableConfig 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
-
getSwitch
public String getSwitch()
Get 开关,取值有:- on:开启;
- off:关闭;
注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Switch 开关,取值有:
- on:开启;
- off:关闭;
注意:此字段可能返回 null,表示取不到有效值。
-
setSwitch
public void setSwitch(String Switch)
Set 开关,取值有:- on:开启;
- off:关闭;
注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Switch- 开关,取值有:- on:开启;
- off:关闭;
注意:此字段可能返回 null,表示取不到有效值。
-
getIpTableRules
public IpTableRule[] getIpTableRules()
Get 基础管控规则。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- IpTableRules 基础管控规则。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。
-
setIpTableRules
public void setIpTableRules(IpTableRule[] IpTableRules)
Set 基础管控规则。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
IpTableRules- 基础管控规则。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。
-
-