public class AccessControlRule extends AbstractModel
| Constructor and Description | 
|---|
| AccessControlRule() | 
| AccessControlRule(AccessControlRule 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 | getRegex()Get on: regular match
off: exact match
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getRuleContent()Get Blocked content
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getRuleHeader()Get This parameter is required only if `RuleType` is `requestHeader`
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getRuleType()Get requestHeader: access control over request header
url: access control over access URL
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setRegex(String Regex)Set on: regular match
off: exact match
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setRuleContent(String RuleContent)Set Blocked content
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setRuleHeader(String RuleHeader)Set This parameter is required only if `RuleType` is `requestHeader`
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setRuleType(String RuleType)Set requestHeader: access control over request header
url: access control over access URL
Note: this field may return null, indicating that no valid values can be obtained. | 
| 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, toJsonStringpublic AccessControlRule()
public AccessControlRule(AccessControlRule source)
public String getRuleType()
public void setRuleType(String RuleType)
RuleType - requestHeader: access control over request header
url: access control over access URL
Note: this field may return null, indicating that no valid values can be obtained.public String getRuleContent()
public void setRuleContent(String RuleContent)
RuleContent - Blocked content
Note: this field may return null, indicating that no valid values can be obtained.public String getRegex()
public void setRegex(String Regex)
Regex - on: regular match
off: exact match
Note: this field may return null, indicating that no valid values can be obtained.public String getRuleHeader()
public void setRuleHeader(String RuleHeader)
RuleHeader - This parameter is required only if `RuleType` is `requestHeader`
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.