public class SecRuleRelatedInfo extends AbstractModel
Constructor and Description |
---|
SecRuleRelatedInfo() |
SecRuleRelatedInfo(SecRuleRelatedInfo 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 |
getAttackContent()
Get The attack content.
|
String |
getDescription()
Get Rule description.
|
String |
getRiskLevel()
Get Risk level (only found in WAF logs).
|
Boolean |
getRuleDeleted()
Get Whether the rule is deleted.
|
Boolean |
getRuleEnabled()
Get Whether to enable the rule
|
Long |
getRuleId()
Get The rule ID.
|
String |
getRuleLevel()
Get Rule level.
|
String |
getRuleType()
Get The rule type.
|
String |
getRuleTypeName()
Get The rule type.
|
void |
setAction(String Action)
Set Action.
|
void |
setAlarmEnabled(Boolean AlarmEnabled)
Set Whether to enable alerting for this rule
|
void |
setAttackContent(String AttackContent)
Set The attack content.
|
void |
setDescription(String Description)
Set Rule description.
|
void |
setRiskLevel(String RiskLevel)
Set Risk level (only found in WAF logs).
|
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 |
setRuleLevel(String RuleLevel)
Set Rule level.
|
void |
setRuleType(String RuleType)
Set The rule type.
|
void |
setRuleTypeName(String RuleTypeName)
Set The rule type.
|
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 SecRuleRelatedInfo()
public SecRuleRelatedInfo(SecRuleRelatedInfo source)
public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId
- The rule ID.public String getAction()
public void setAction(String Action)
Action
- Action. Values:
public String getRiskLevel()
public void setRiskLevel(String RiskLevel)
RiskLevel
- Risk level (only found in WAF logs). Values:
public String getRuleLevel()
public void setRuleLevel(String RuleLevel)
RuleLevel
- Rule level. Values:
public String getDescription()
public void setDescription(String Description)
Description
- Rule description.public String getRuleTypeName()
public void setRuleTypeName(String RuleTypeName)
RuleTypeName
- The rule type.public String getAttackContent()
public void setAttackContent(String AttackContent)
AttackContent
- The attack content.
Note: This field may return null, indicating that no valid values can be obtained.public String getRuleType()
public void setRuleType(String RuleType)
RuleType
- The rule type. Values:
public Boolean getRuleEnabled()
public void setRuleEnabled(Boolean RuleEnabled)
RuleEnabled
- Whether to enable the rulepublic Boolean getRuleDeleted()
public void setRuleDeleted(Boolean RuleDeleted)
RuleDeleted
- Whether the rule is deleted. Values:
public Boolean getAlarmEnabled()
public void setAlarmEnabled(Boolean AlarmEnabled)
AlarmEnabled
- Whether to enable alerting for this ruleCopyright © 2023. All rights reserved.