public class BotUserRule extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| BotUserRule() | 
| BotUserRule(BotUserRule 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 | 
|---|---|
| AclCondition[] | getAclConditions()Get Details of the rule. | 
| String | getAction()Get The action. | 
| String | getCustomResponseId()Get ID of custom response. | 
| BotExtendAction[] | getExtendActions()Get [Currently unavailable] Specify the random action and percentage. | 
| String[] | getFreqFields()Get The filter. | 
| String[] | getFreqScope()Get Query scope. | 
| String | getName()Get Name of the custom return page. | 
| String | getRedirectUrl()Get The redirection URL. | 
| Long | getResponseCode()Get The response code to trigger the return page. | 
| Long | getRuleID()Get Rule ID, which is only used as an output parameter. | 
| String | getRuleName()Get | 
| Long | getRulePriority()Get The rule weight. | 
| String | getRuleStatus()Get The rule status. | 
| String | getUpdateTime()Get The update time, which is only used as an output parameter. | 
| void | setAclConditions(AclCondition[] AclConditions)Set Details of the rule. | 
| void | setAction(String Action)Set The action. | 
| void | setCustomResponseId(String CustomResponseId)Set ID of custom response. | 
| void | setExtendActions(BotExtendAction[] ExtendActions)Set [Currently unavailable] Specify the random action and percentage. | 
| void | setFreqFields(String[] FreqFields)Set The filter. | 
| void | setFreqScope(String[] FreqScope)Set Query scope. | 
| void | setName(String Name)Set Name of the custom return page. | 
| void | setRedirectUrl(String RedirectUrl)Set The redirection URL. | 
| void | setResponseCode(Long ResponseCode)Set The response code to trigger the return page. | 
| void | setRuleID(Long RuleID)Set Rule ID, which is only used as an output parameter. | 
| void | setRuleName(String RuleName)Set | 
| void | setRulePriority(Long RulePriority)Set The rule weight. | 
| void | setRuleStatus(String RuleStatus)Set The rule status. | 
| void | setUpdateTime(String UpdateTime)Set The update time, which is only used as an output parameter. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic BotUserRule()
public BotUserRule(BotUserRule source)
public String getRuleName()
public void setRuleName(String RuleName)
RuleName - public String getAction()
public void setAction(String Action)
Action - The action. Values:
public String getRuleStatus()
public void setRuleStatus(String RuleStatus)
RuleStatus - The rule status. Values:
public AclCondition[] getAclConditions()
public void setAclConditions(AclCondition[] AclConditions)
AclConditions - Details of the rule.public Long getRulePriority()
public void setRulePriority(Long RulePriority)
RulePriority - The rule weight. Value range: 0-100.public Long getRuleID()
public void setRuleID(Long RuleID)
RuleID - Rule ID, which is only used as an output parameter.public BotExtendAction[] getExtendActions()
public void setExtendActions(BotExtendAction[] ExtendActions)
ExtendActions - [Currently unavailable] Specify the random action and percentage.public String[] getFreqFields()
public void setFreqFields(String[] FreqFields)
FreqFields - The filter. Values:
public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime - The update time, which is only used as an output parameter.public String[] getFreqScope()
public void setFreqScope(String[] FreqScope)
FreqScope - Query scope. Values:
public String getName()
public void setName(String Name)
Name - Name of the custom return page. It's required when `Action=page`.public String getCustomResponseId()
public void setCustomResponseId(String CustomResponseId)
CustomResponseId - ID of custom response. The ID can be obtained via the `DescribeCustomErrorPages` API. It's required when `Action=page`.public Long getResponseCode()
public void setResponseCode(Long ResponseCode)
ResponseCode - The response code to trigger the return page. It's required when `Action=page`. Value: 100-600. 3xx response codes are not supported. Default value: 567.public String getRedirectUrl()
public void setRedirectUrl(String RedirectUrl)
RedirectUrl - The redirection URL. It's required when `Action=redirect`.Copyright © 2025. All rights reserved.