Class StrategyForAntiInfoLeak
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.waf.v20180125.models.StrategyForAntiInfoLeak
-
public class StrategyForAntiInfoLeak extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description StrategyForAntiInfoLeak()StrategyForAntiInfoLeak(StrategyForAntiInfoLeak 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 StringgetCompareFunc()Get 逻辑符号,固定取值为containsStringgetContent()Get 匹配内容。 以下三个对应Field为information时可取的匹配内容: idcard(身份证)、phone(手机号)、bankcard(银行卡)。 以下为对应Field为returncode时可取的匹配内容: 400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。 当对应Field为keywords时由用户自己输入匹配内容。StringgetField()Get 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)voidsetCompareFunc(String CompareFunc)Set 逻辑符号,固定取值为containsvoidsetContent(String Content)Set 匹配内容。 以下三个对应Field为information时可取的匹配内容: idcard(身份证)、phone(手机号)、bankcard(银行卡)。 以下为对应Field为returncode时可取的匹配内容: 400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。 当对应Field为keywords时由用户自己输入匹配内容。voidsetField(String Field)Set 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)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
-
StrategyForAntiInfoLeak
public StrategyForAntiInfoLeak()
-
StrategyForAntiInfoLeak
public StrategyForAntiInfoLeak(StrategyForAntiInfoLeak 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
-
getField
public String getField()
Get 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)- Returns:
- Field 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)
-
setField
public void setField(String Field)
Set 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)- Parameters:
Field- 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)
-
getCompareFunc
public String getCompareFunc()
Get 逻辑符号,固定取值为contains- Returns:
- CompareFunc 逻辑符号,固定取值为contains
-
setCompareFunc
public void setCompareFunc(String CompareFunc)
Set 逻辑符号,固定取值为contains- Parameters:
CompareFunc- 逻辑符号,固定取值为contains
-
getContent
public String getContent()
Get 匹配内容。 以下三个对应Field为information时可取的匹配内容: idcard(身份证)、phone(手机号)、bankcard(银行卡)。 以下为对应Field为returncode时可取的匹配内容: 400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。 当对应Field为keywords时由用户自己输入匹配内容。- Returns:
- Content 匹配内容。 以下三个对应Field为information时可取的匹配内容: idcard(身份证)、phone(手机号)、bankcard(银行卡)。 以下为对应Field为returncode时可取的匹配内容: 400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。 当对应Field为keywords时由用户自己输入匹配内容。
-
setContent
public void setContent(String Content)
Set 匹配内容。 以下三个对应Field为information时可取的匹配内容: idcard(身份证)、phone(手机号)、bankcard(银行卡)。 以下为对应Field为returncode时可取的匹配内容: 400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。 当对应Field为keywords时由用户自己输入匹配内容。- Parameters:
Content- 匹配内容。 以下三个对应Field为information时可取的匹配内容: idcard(身份证)、phone(手机号)、bankcard(银行卡)。 以下为对应Field为returncode时可取的匹配内容: 400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。 当对应Field为keywords时由用户自己输入匹配内容。
-
-