public class ModifyCCIpAllowDenyRequest extends AbstractModel
| Constructor and Description | 
|---|
| ModifyCCIpAllowDenyRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getBusiness()Get Anti-DDoS service type. | 
| String | getDomain()Get HTTPS layer-7 forwarding rule domain name (which is optional and can be obtained from the layer-7 forwarding rule API). | 
| String | getId()Get Anti-DDoS instance ID | 
| String[] | getIpList()Get Blacklisted/whitelisted IP array | 
| String | getMethod()Get add: add, delete: delete | 
| String | getProtocol()Get CC protection type, which is optional. | 
| String | getRuleId()Get HTTPS layer-7 forwarding rule ID (which is optional and can be obtained from the layer-7 forwarding rule API),
If `Method` is `delete`, this field can be left empty; | 
| String | getType()Get Blacklist/whitelist type. | 
| void | setBusiness(String Business)Set Anti-DDoS service type. | 
| void | setDomain(String Domain)Set HTTPS layer-7 forwarding rule domain name (which is optional and can be obtained from the layer-7 forwarding rule API). | 
| void | setId(String Id)Set Anti-DDoS instance ID | 
| void | setIpList(String[] IpList)Set Blacklisted/whitelisted IP array | 
| void | setMethod(String Method)Set add: add, delete: delete | 
| void | setProtocol(String Protocol)Set CC protection type, which is optional. | 
| void | setRuleId(String RuleId)Set HTTPS layer-7 forwarding rule ID (which is optional and can be obtained from the layer-7 forwarding rule API),
If `Method` is `delete`, this field can be left empty; | 
| void | setType(String Type)Set Blacklist/whitelist type. | 
| 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 String getBusiness()
public void setBusiness(String Business)
Business - Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (single IP); `bgp-multip`: Anti-DDoS Pro (multi-IP), `net`: Anti-DDoS Ultimatepublic String getId()
public void setId(String Id)
Id - Anti-DDoS instance IDpublic String getMethod()
public void setMethod(String Method)
Method - add: add, delete: deletepublic String getType()
public void setType(String Type)
Type - Blacklist/whitelist type. Valid values: [white (whitelist), black (blacklist)]public String[] getIpList()
public void setIpList(String[] IpList)
IpList - Blacklisted/whitelisted IP arraypublic String getProtocol()
public void setProtocol(String Protocol)
Protocol - CC protection type, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; if this field is left empty, HTTPS CC protection will be used by default; if `https` is entered, the `Domain` and `RuleId` fields are required;public String getDomain()
public void setDomain(String Domain)
Domain - HTTPS layer-7 forwarding rule domain name (which is optional and can be obtained from the layer-7 forwarding rule API). This field is required only if `Protocol` is `https`;public String getRuleId()
public void setRuleId(String RuleId)
RuleId - HTTPS layer-7 forwarding rule ID (which is optional and can be obtained from the layer-7 forwarding rule API),
If `Method` is `delete`, this field can be left empty;Copyright © 2020. All rights reserved.