public class BotConfig extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| BotConfig() | 
| BotConfig(BotConfig 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 | 
|---|---|
| AlgDetectRule[] | getAlgDetectRule()Get Active bot detection rule. | 
| BotManagedRule | getBotManagedRule()Get The settings of the bot managed rule. | 
| BotPortraitRule | getBotPortraitRule()Get The settings of the client reputation rule. | 
| BotUserRule[] | getBotUserRules()Get Settings of the custom bot rule. | 
| BotUserRule[] | getCustomizes()Get Bot managed custom policy. | 
| IntelligenceRule | getIntelligenceRule()Get Bot intelligent analysis. | 
| String | getSwitch()Get Whether to enable bot security. | 
| void | setAlgDetectRule(AlgDetectRule[] AlgDetectRule)Set Active bot detection rule. | 
| void | setBotManagedRule(BotManagedRule BotManagedRule)Set The settings of the bot managed rule. | 
| void | setBotPortraitRule(BotPortraitRule BotPortraitRule)Set The settings of the client reputation rule. | 
| void | setBotUserRules(BotUserRule[] BotUserRules)Set Settings of the custom bot rule. | 
| void | setCustomizes(BotUserRule[] Customizes)Set Bot managed custom policy. | 
| void | setIntelligenceRule(IntelligenceRule IntelligenceRule)Set Bot intelligent analysis. | 
| void | setSwitch(String Switch)Set Whether to enable bot security. | 
| 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, toJsonStringpublic BotConfig()
public BotConfig(BotConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Whether to enable bot security. Values:
public BotManagedRule getBotManagedRule()
public void setBotManagedRule(BotManagedRule BotManagedRule)
BotManagedRule - The settings of the bot managed rule. If it is null, the settings that were last configured will be used.public BotPortraitRule getBotPortraitRule()
public void setBotPortraitRule(BotPortraitRule BotPortraitRule)
BotPortraitRule - The settings of the client reputation rule. If it is null, the settings that were last configured will be used.public IntelligenceRule getIntelligenceRule()
public void setIntelligenceRule(IntelligenceRule IntelligenceRule)
IntelligenceRule - Bot intelligent analysis. if null, use the last set configuration by default.public BotUserRule[] getBotUserRules()
public void setBotUserRules(BotUserRule[] BotUserRules)
BotUserRules - Settings of the custom bot rule. If it is null, the settings that were last configured will be used.public AlgDetectRule[] getAlgDetectRule()
public void setAlgDetectRule(AlgDetectRule[] AlgDetectRule)
AlgDetectRule - Active bot detection rule.public BotUserRule[] getCustomizes()
public void setCustomizes(BotUserRule[] Customizes)
Customizes - Bot managed custom policy. optional input. output usage only.Copyright © 2025. All rights reserved.