public class SecHitRuleInfo extends AbstractModel
Constructor and Description |
---|
SecHitRuleInfo() |
SecHitRuleInfo(SecHitRuleInfo 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Get 执行动作(处置方式),取值有:
trans :通过 ;
alg :算法挑战 ;
drop :丢弃 ;
ban :封禁源ip ;
redirect :重定向 ;
page :返回指定页面 ;
monitor :观察 。
|
String |
getDescription()
Get 规则描述。
|
String |
getDomain()
Get 子域名。
|
Long |
getHitTime()
Get 命中时间,采用unix秒级时间戳。
|
Long |
getRequestNum()
Get 请求数。
|
Long |
getRuleId()
Get 规则ID。
|
String |
getRuleTypeName()
Get 规则类型名称。
|
void |
setAction(String Action)
Set 执行动作(处置方式),取值有:
trans :通过 ;
alg :算法挑战 ;
drop :丢弃 ;
ban :封禁源ip ;
redirect :重定向 ;
page :返回指定页面 ;
monitor :观察 。
|
void |
setDescription(String Description)
Set 规则描述。
|
void |
setDomain(String Domain)
Set 子域名。
|
void |
setHitTime(Long HitTime)
Set 命中时间,采用unix秒级时间戳。
|
void |
setRequestNum(Long RequestNum)
Set 请求数。
|
void |
setRuleId(Long RuleId)
Set 规则ID。
|
void |
setRuleTypeName(String RuleTypeName)
Set 规则类型名称。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SecHitRuleInfo()
public SecHitRuleInfo(SecHitRuleInfo source)
public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId
- 规则ID。public String getRuleTypeName()
public void setRuleTypeName(String RuleTypeName)
RuleTypeName
- 规则类型名称。public String getAction()
public void setAction(String Action)
Action
- 执行动作(处置方式),取值有:
public Long getHitTime()
public void setHitTime(Long HitTime)
HitTime
- 命中时间,采用unix秒级时间戳。public Long getRequestNum()
public void setRequestNum(Long RequestNum)
RequestNum
- 请求数。public String getDescription()
public void setDescription(String Description)
Description
- 规则描述。public String getDomain()
public void setDomain(String Domain)
Domain
- 子域名。Copyright © 2022. All rights reserved.