public class CreateL7CCRuleRequest extends AbstractModel
| Constructor and Description | 
|---|
| CreateL7CCRuleRequest() | 
| CreateL7CCRuleRequest(CreateL7CCRuleRequest 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 | getBusiness()Get Anti-DDoS service type. | 
| String | getId()Get Anti-DDoS instance ID | 
| String | getMethod()Get Operation. | 
| CCRuleConfig[] | getRuleConfig()Get Custom layer-7 CC protection rule. | 
| String | getRuleId()Get Layer-7 forwarding rule ID, such as rule-0000001 | 
| void | setBusiness(String Business)Set Anti-DDoS service type. | 
| void | setId(String Id)Set Anti-DDoS instance ID | 
| void | setMethod(String Method)Set Operation. | 
| void | setRuleConfig(CCRuleConfig[] RuleConfig)Set Custom layer-7 CC protection rule. | 
| void | setRuleId(String RuleId)Set Layer-7 forwarding rule ID, such as rule-0000001 | 
| 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 CreateL7CCRuleRequest()
public CreateL7CCRuleRequest(CreateL7CCRuleRequest source)
public String getBusiness()
public void setBusiness(String Business)
Business - Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimatepublic String getId()
public void setId(String Id)
Id - Anti-DDoS instance IDpublic String getMethod()
public void setMethod(String Method)
Method - Operation. Valid values: [query (query), add (add), del (delete)]public String getRuleId()
public void setRuleId(String RuleId)
RuleId - Layer-7 forwarding rule ID, such as rule-0000001public CCRuleConfig[] getRuleConfig()
public void setRuleConfig(CCRuleConfig[] RuleConfig)
RuleConfig - Custom layer-7 CC protection rule. If the `Method` is `query`, this field can be left empty; if the `Method` is `add` or `del`, it is required, and the array length can only be 1;Copyright © 2021. All rights reserved.