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 Action.
|
Boolean |
getAlarmEnabled()
Get Whether to enable alerting for this rule
|
String |
getBotLabel()
Get The bot tag.
|
String |
getDescription()
Get The rule description.
|
String |
getDomain()
Get The subdomain name.
|
Long |
getHitTime()
Get The hit time recorded in seconds using UNIX timestamp.
|
Long |
getRequestNum()
Get The number of requests.
|
Boolean |
getRuleDeleted()
Get Whether the rule is deleted.
|
Boolean |
getRuleEnabled()
Get Whether to enable the rule
|
Long |
getRuleId()
Get The rule ID.
|
String |
getRuleTypeName()
Get The rule type.
|
String |
getZoneId()
Get The site ID.
|
void |
setAction(String Action)
Set Action.
|
void |
setAlarmEnabled(Boolean AlarmEnabled)
Set Whether to enable alerting for this rule
|
void |
setBotLabel(String BotLabel)
Set The bot tag.
|
void |
setDescription(String Description)
Set The rule description.
|
void |
setDomain(String Domain)
Set The subdomain name.
|
void |
setHitTime(Long HitTime)
Set The hit time recorded in seconds using UNIX timestamp.
|
void |
setRequestNum(Long RequestNum)
Set The number of requests.
|
void |
setRuleDeleted(Boolean RuleDeleted)
Set Whether the rule is deleted.
|
void |
setRuleEnabled(Boolean RuleEnabled)
Set Whether to enable the rule
|
void |
setRuleId(Long RuleId)
Set The rule ID.
|
void |
setRuleTypeName(String RuleTypeName)
Set The rule type.
|
void |
setZoneId(String ZoneId)
Set The site ID.
|
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 String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- The site ID.public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId
- The rule ID.public String getRuleTypeName()
public void setRuleTypeName(String RuleTypeName)
RuleTypeName
- The rule type.public Long getHitTime()
public void setHitTime(Long HitTime)
HitTime
- The hit time recorded in seconds using UNIX timestamp.public Long getRequestNum()
public void setRequestNum(Long RequestNum)
RequestNum
- The number of requests.public String getDescription()
public void setDescription(String Description)
Description
- The rule description.public String getDomain()
public void setDomain(String Domain)
Domain
- The subdomain name.public String getAction()
public void setAction(String Action)
Action
- Action. Values:
public String getBotLabel()
public void setBotLabel(String BotLabel)
BotLabel
- The bot tag. Values:
public Boolean getRuleEnabled()
public void setRuleEnabled(Boolean RuleEnabled)
RuleEnabled
- Whether to enable the rulepublic Boolean getAlarmEnabled()
public void setAlarmEnabled(Boolean AlarmEnabled)
AlarmEnabled
- Whether to enable alerting for this rulepublic Boolean getRuleDeleted()
public void setRuleDeleted(Boolean RuleDeleted)
RuleDeleted
- Whether the rule is deleted. Values:
Copyright © 2023. All rights reserved.