public class SecurityConfig extends AbstractModel
Constructor and Description |
---|
SecurityConfig() |
SecurityConfig(SecurityConfig 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 |
---|---|
AclConfig |
getAclConfig()
Get The settings of the custom rule.
|
BotConfig |
getBotConfig()
Get The settings of the bot configuration.
|
DropPageConfig |
getDropPageConfig()
Get The settings of the custom block page.
|
ExceptConfig |
getExceptConfig()
Get The settings of the exception rule.
|
IpTableConfig |
getIpTableConfig()
Get The settings of the basic access control rule.
|
RateLimitConfig |
getRateLimitConfig()
Get The settings of the rate limiting rule.
|
SlowPostConfig |
getSlowPostConfig()
Get Slow attack defense configuration.
|
SwitchConfig |
getSwitchConfig()
Get The switch setting of the layer-7 protection.
|
TemplateConfig |
getTemplateConfig()
Get Security template settings
Note: This field may return `null`, indicating that no valid value can be obtained.
|
WafConfig |
getWafConfig()
Get The settings of the managed rule.
|
void |
setAclConfig(AclConfig AclConfig)
Set The settings of the custom rule.
|
void |
setBotConfig(BotConfig BotConfig)
Set The settings of the bot configuration.
|
void |
setDropPageConfig(DropPageConfig DropPageConfig)
Set The settings of the custom block page.
|
void |
setExceptConfig(ExceptConfig ExceptConfig)
Set The settings of the exception rule.
|
void |
setIpTableConfig(IpTableConfig IpTableConfig)
Set The settings of the basic access control rule.
|
void |
setRateLimitConfig(RateLimitConfig RateLimitConfig)
Set The settings of the rate limiting rule.
|
void |
setSlowPostConfig(SlowPostConfig SlowPostConfig)
Set Slow attack defense configuration.
|
void |
setSwitchConfig(SwitchConfig SwitchConfig)
Set The switch setting of the layer-7 protection.
|
void |
setTemplateConfig(TemplateConfig TemplateConfig)
Set Security template settings
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setWafConfig(WafConfig WafConfig)
Set The settings of the managed rule.
|
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 SecurityConfig()
public SecurityConfig(SecurityConfig source)
public WafConfig getWafConfig()
public void setWafConfig(WafConfig WafConfig)
WafConfig
- The settings of the managed rule. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public RateLimitConfig getRateLimitConfig()
public void setRateLimitConfig(RateLimitConfig RateLimitConfig)
RateLimitConfig
- The settings of the rate limiting rule. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public AclConfig getAclConfig()
public void setAclConfig(AclConfig AclConfig)
AclConfig
- The settings of the custom rule. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public BotConfig getBotConfig()
public void setBotConfig(BotConfig BotConfig)
BotConfig
- The settings of the bot configuration. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public SwitchConfig getSwitchConfig()
public void setSwitchConfig(SwitchConfig SwitchConfig)
SwitchConfig
- The switch setting of the layer-7 protection. If it is null, the setting that was last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public IpTableConfig getIpTableConfig()
public void setIpTableConfig(IpTableConfig IpTableConfig)
IpTableConfig
- The settings of the basic access control rule. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public ExceptConfig getExceptConfig()
public void setExceptConfig(ExceptConfig ExceptConfig)
ExceptConfig
- The settings of the exception rule. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public DropPageConfig getDropPageConfig()
public void setDropPageConfig(DropPageConfig DropPageConfig)
DropPageConfig
- The settings of the custom block page. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public TemplateConfig getTemplateConfig()
public void setTemplateConfig(TemplateConfig TemplateConfig)
TemplateConfig
- Security template settings
Note: This field may return `null`, indicating that no valid value can be obtained.public SlowPostConfig getSlowPostConfig()
public void setSlowPostConfig(SlowPostConfig SlowPostConfig)
SlowPostConfig
- Slow attack defense configuration. If it is `null`, the previous setting is used.
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.