public class ExceptionRule extends AbstractModel
header, skipSign
Constructor and Description |
---|
ExceptionRule() |
ExceptionRule(ExceptionRule 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 |
getCondition()
Get Describes the specific content of the exception rule, which must comply with the expression grammar.
|
String |
getEnabled()
Get Whether the exception rule is enabled.
|
String |
getId()
Get The ID of the exception rule.
|
String[] |
getManagedRuleGroupsForException()
Get A managed rule group with designated exception rules is valid only when SkipScope is ManagedRules, and at this point you cannot specify ManagedRulesForException.
|
String[] |
getManagedRulesForException()
Get Specifies the managed rule for the exception rule.
|
String |
getName()
Get The name of the exception rule.
|
RequestFieldsForException[] |
getRequestFieldsForException()
Get Specify exception rules to skip request fields.
|
String |
getSkipOption()
Get Skip the specific type of request.
|
String |
getSkipScope()
Get Exception rule execution options, valid values: WebSecurityModules: designate the security protection module for the exception rule. ManagedRules: designate the managed rule..
|
String[] |
getWebSecurityModulesForException()
Get Specifies the security protection module for exception rules.
|
void |
setCondition(String Condition)
Set Describes the specific content of the exception rule, which must comply with the expression grammar.
|
void |
setEnabled(String Enabled)
Set Whether the exception rule is enabled.
|
void |
setId(String Id)
Set The ID of the exception rule.
|
void |
setManagedRuleGroupsForException(String[] ManagedRuleGroupsForException)
Set A managed rule group with designated exception rules is valid only when SkipScope is ManagedRules, and at this point you cannot specify ManagedRulesForException.
|
void |
setManagedRulesForException(String[] ManagedRulesForException)
Set Specifies the managed rule for the exception rule.
|
void |
setName(String Name)
Set The name of the exception rule.
|
void |
setRequestFieldsForException(RequestFieldsForException[] RequestFieldsForException)
Set Specify exception rules to skip request fields.
|
void |
setSkipOption(String SkipOption)
Set Skip the specific type of request.
|
void |
setSkipScope(String SkipScope)
Set Exception rule execution options, valid values: WebSecurityModules: designate the security protection module for the exception rule. ManagedRules: designate the managed rule..
|
void |
setWebSecurityModulesForException(String[] WebSecurityModulesForException)
Set Specifies the security protection module for exception rules.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ExceptionRule()
public ExceptionRule(ExceptionRule source)
public String getId()
public void setId(String Id)
Id
- The ID of the exception rule. different rule configuration operations are supported by rule ID: public String getName()
public void setName(String Name)
Name
- The name of the exception rule.public String getCondition()
public void setCondition(String Condition)
Condition
- Describes the specific content of the exception rule, which must comply with the expression grammar. for details, please refer to the product document.public String getSkipScope()
public void setSkipScope(String SkipScope)
SkipScope
- Exception rule execution options, valid values: public String getSkipOption()
public void setSkipOption(String SkipOption)
SkipOption
- Skip the specific type of request. valid values: public String[] getWebSecurityModulesForException()
public void setWebSecurityModulesForException(String[] WebSecurityModulesForException)
WebSecurityModulesForException
- Specifies the security protection module for exception rules. valid only when SkipScope is WebSecurityModules. valid values: public String[] getManagedRulesForException()
public void setManagedRulesForException(String[] ManagedRulesForException)
ManagedRulesForException
- Specifies the managed rule for the exception rule. valid only when SkipScope is ManagedRules. cannot specify ManagedRuleGroupsForException at this time.public String[] getManagedRuleGroupsForException()
public void setManagedRuleGroupsForException(String[] ManagedRuleGroupsForException)
ManagedRuleGroupsForException
- A managed rule group with designated exception rules is valid only when SkipScope is ManagedRules, and at this point you cannot specify ManagedRulesForException.public RequestFieldsForException[] getRequestFieldsForException()
public void setRequestFieldsForException(RequestFieldsForException[] RequestFieldsForException)
RequestFieldsForException
- Specify exception rules to skip request fields. valid only when SkipScope is ManagedRules and SkipOption is SkipOnSpecifiedRequestFields.public String getEnabled()
public void setEnabled(String Enabled)
Enabled
- Whether the exception rule is enabled. valid values: Copyright © 2025. All rights reserved.