Class ExceptUserRuleCondition
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.models.ExceptUserRuleCondition
-
public class ExceptUserRuleCondition extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ExceptUserRuleCondition()ExceptUserRuleCondition(ExceptUserRuleCondition 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 StringgetMatchContent()Get 匹配值。StringgetMatchFrom()Get 匹配项,取值有: host:请求域名; sip:客户端IP; ua:User-Agent; cookie:会话 Cookie; cgi:CGI 脚本; xff:XFF 扩展头部; url:请求 URL; accept:请求内容类型; method:请求方式; header:请求头部; sip_proto:网络层协议。StringgetMatchParam()Get 匹配项的参数。仅当 MatchFrom 为 header 时,可以使用本参数,值可填入 header 的 key 作为参数。StringgetOperator()Get 匹配操作符,取值有: equal:字符串等于; not_equal:数值不等于; include:字符包含; not_include:字符不包含; match:ip匹配; not_match:ip不匹配; include_area:地域包含; is_empty:存在字段但值为空; not_exists:不存在关键字段; regexp:正则匹配; len_gt:数值大于; len_lt:数值小于; len_eq:数值等于; match_prefix:前缀匹配; match_suffix:后缀匹配; wildcard:通配符。voidsetMatchContent(String MatchContent)Set 匹配值。voidsetMatchFrom(String MatchFrom)Set 匹配项,取值有: host:请求域名; sip:客户端IP; ua:User-Agent; cookie:会话 Cookie; cgi:CGI 脚本; xff:XFF 扩展头部; url:请求 URL; accept:请求内容类型; method:请求方式; header:请求头部; sip_proto:网络层协议。voidsetMatchParam(String MatchParam)Set 匹配项的参数。仅当 MatchFrom 为 header 时,可以使用本参数,值可填入 header 的 key 作为参数。voidsetOperator(String Operator)Set 匹配操作符,取值有: equal:字符串等于; not_equal:数值不等于; include:字符包含; not_include:字符不包含; match:ip匹配; not_match:ip不匹配; include_area:地域包含; is_empty:存在字段但值为空; not_exists:不存在关键字段; regexp:正则匹配; len_gt:数值大于; len_lt:数值小于; len_eq:数值等于; match_prefix:前缀匹配; match_suffix:后缀匹配; wildcard:通配符。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
-
ExceptUserRuleCondition
public ExceptUserRuleCondition()
-
ExceptUserRuleCondition
public ExceptUserRuleCondition(ExceptUserRuleCondition 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
-
getMatchFrom
public String getMatchFrom()
Get 匹配项,取值有:- host:请求域名;
- sip:客户端IP;
- ua:User-Agent;
- cookie:会话 Cookie;
- cgi:CGI 脚本;
- xff:XFF 扩展头部;
- url:请求 URL;
- accept:请求内容类型;
- method:请求方式;
- header:请求头部;
- sip_proto:网络层协议。
- Returns:
- MatchFrom 匹配项,取值有:
- host:请求域名;
- sip:客户端IP;
- ua:User-Agent;
- cookie:会话 Cookie;
- cgi:CGI 脚本;
- xff:XFF 扩展头部;
- url:请求 URL;
- accept:请求内容类型;
- method:请求方式;
- header:请求头部;
- sip_proto:网络层协议。
-
setMatchFrom
public void setMatchFrom(String MatchFrom)
Set 匹配项,取值有:- host:请求域名;
- sip:客户端IP;
- ua:User-Agent;
- cookie:会话 Cookie;
- cgi:CGI 脚本;
- xff:XFF 扩展头部;
- url:请求 URL;
- accept:请求内容类型;
- method:请求方式;
- header:请求头部;
- sip_proto:网络层协议。
- Parameters:
MatchFrom- 匹配项,取值有:- host:请求域名;
- sip:客户端IP;
- ua:User-Agent;
- cookie:会话 Cookie;
- cgi:CGI 脚本;
- xff:XFF 扩展头部;
- url:请求 URL;
- accept:请求内容类型;
- method:请求方式;
- header:请求头部;
- sip_proto:网络层协议。
-
getMatchParam
public String getMatchParam()
Get 匹配项的参数。仅当 MatchFrom 为 header 时,可以使用本参数,值可填入 header 的 key 作为参数。- Returns:
- MatchParam 匹配项的参数。仅当 MatchFrom 为 header 时,可以使用本参数,值可填入 header 的 key 作为参数。
-
setMatchParam
public void setMatchParam(String MatchParam)
Set 匹配项的参数。仅当 MatchFrom 为 header 时,可以使用本参数,值可填入 header 的 key 作为参数。- Parameters:
MatchParam- 匹配项的参数。仅当 MatchFrom 为 header 时,可以使用本参数,值可填入 header 的 key 作为参数。
-
getOperator
public String getOperator()
Get 匹配操作符,取值有:- equal:字符串等于;
- not_equal:数值不等于;
- include:字符包含;
- not_include:字符不包含;
- match:ip匹配;
- not_match:ip不匹配;
- include_area:地域包含;
- is_empty:存在字段但值为空;
- not_exists:不存在关键字段;
- regexp:正则匹配;
- len_gt:数值大于;
- len_lt:数值小于;
- len_eq:数值等于;
- match_prefix:前缀匹配;
- match_suffix:后缀匹配;
- wildcard:通配符。
- Returns:
- Operator 匹配操作符,取值有:
- equal:字符串等于;
- not_equal:数值不等于;
- include:字符包含;
- not_include:字符不包含;
- match:ip匹配;
- not_match:ip不匹配;
- include_area:地域包含;
- is_empty:存在字段但值为空;
- not_exists:不存在关键字段;
- regexp:正则匹配;
- len_gt:数值大于;
- len_lt:数值小于;
- len_eq:数值等于;
- match_prefix:前缀匹配;
- match_suffix:后缀匹配;
- wildcard:通配符。
-
setOperator
public void setOperator(String Operator)
Set 匹配操作符,取值有:- equal:字符串等于;
- not_equal:数值不等于;
- include:字符包含;
- not_include:字符不包含;
- match:ip匹配;
- not_match:ip不匹配;
- include_area:地域包含;
- is_empty:存在字段但值为空;
- not_exists:不存在关键字段;
- regexp:正则匹配;
- len_gt:数值大于;
- len_lt:数值小于;
- len_eq:数值等于;
- match_prefix:前缀匹配;
- match_suffix:后缀匹配;
- wildcard:通配符。
- Parameters:
Operator- 匹配操作符,取值有:- equal:字符串等于;
- not_equal:数值不等于;
- include:字符包含;
- not_include:字符不包含;
- match:ip匹配;
- not_match:ip不匹配;
- include_area:地域包含;
- is_empty:存在字段但值为空;
- not_exists:不存在关键字段;
- regexp:正则匹配;
- len_gt:数值大于;
- len_lt:数值小于;
- len_eq:数值等于;
- match_prefix:前缀匹配;
- match_suffix:后缀匹配;
- wildcard:通配符。
-
getMatchContent
public String getMatchContent()
Get 匹配值。- Returns:
- MatchContent 匹配值。
-
setMatchContent
public void setMatchContent(String MatchContent)
Set 匹配值。- Parameters:
MatchContent- 匹配值。
-
-