Class ExceptUserRuleScope
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.models.ExceptUserRuleScope
-
public class ExceptUserRuleScope extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ExceptUserRuleScope()ExceptUserRuleScope(ExceptUserRuleScope 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 String[]getModules()Get 生效的模块,该字段取值有: waf:托管规则; rate:速率限制; acl:自定义规则; cc:cc攻击防护; bot:Bot防护。 注意:此字段可能返回 null,表示取不到有效值。PartialModule[]getPartialModules()Get 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。SkipCondition[]getSkipConditions()Get 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。StringgetType()Get 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有: complete:完全跳过模式; partial:部分跳过模式。voidsetModules(String[] Modules)Set 生效的模块,该字段取值有: waf:托管规则; rate:速率限制; acl:自定义规则; cc:cc攻击防护; bot:Bot防护。 注意:此字段可能返回 null,表示取不到有效值。voidsetPartialModules(PartialModule[] PartialModules)Set 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。voidsetSkipConditions(SkipCondition[] SkipConditions)Set 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。voidsetType(String Type)Set 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有: complete:完全跳过模式; partial:部分跳过模式。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
-
ExceptUserRuleScope
public ExceptUserRuleScope()
-
ExceptUserRuleScope
public ExceptUserRuleScope(ExceptUserRuleScope 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
-
getType
public String getType()
Get 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有:- complete:完全跳过模式;
- partial:部分跳过模式。
- Returns:
- Type 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有:
- complete:完全跳过模式;
- partial:部分跳过模式。
-
setType
public void setType(String Type)
Set 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有:- complete:完全跳过模式;
- partial:部分跳过模式。
- Parameters:
Type- 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有:- complete:完全跳过模式;
- partial:部分跳过模式。
-
getModules
public String[] getModules()
Get 生效的模块,该字段取值有:- waf:托管规则;
- rate:速率限制;
- acl:自定义规则;
- cc:cc攻击防护;
- bot:Bot防护。
注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Modules 生效的模块,该字段取值有:
- waf:托管规则;
- rate:速率限制;
- acl:自定义规则;
- cc:cc攻击防护;
- bot:Bot防护。
注意:此字段可能返回 null,表示取不到有效值。
-
setModules
public void setModules(String[] Modules)
Set 生效的模块,该字段取值有:- waf:托管规则;
- rate:速率限制;
- acl:自定义规则;
- cc:cc攻击防护;
- bot:Bot防护。
注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Modules- 生效的模块,该字段取值有:- waf:托管规则;
- rate:速率限制;
- acl:自定义规则;
- cc:cc攻击防护;
- bot:Bot防护。
注意:此字段可能返回 null,表示取不到有效值。
-
getPartialModules
public PartialModule[] getPartialModules()
Get 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PartialModules 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。
-
setPartialModules
public void setPartialModules(PartialModule[] PartialModules)
Set 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PartialModules- 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。
-
getSkipConditions
public SkipCondition[] getSkipConditions()
Get 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SkipConditions 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。
-
setSkipConditions
public void setSkipConditions(SkipCondition[] SkipConditions)
Set 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SkipConditions- 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。 注意:此字段可能返回 null,表示取不到有效值。
-
-