public class ModifyCCIpAllowDenyRequest extends AbstractModel
| Constructor and Description | 
|---|
ModifyCCIpAllowDenyRequest()  | 
ModifyCCIpAllowDenyRequest(ModifyCCIpAllowDenyRequest 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 | 
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 Blocklisted/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 Blocklist/allowlist 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 Blocklisted/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 Blocklist/allowlist 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 ModifyCCIpAllowDenyRequest()
public ModifyCCIpAllowDenyRequest(ModifyCCIpAllowDenyRequest source)
public 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 - Blocklist/allowlist type. Valid values: [white (allowlist), black (blocklist)]public String[] getIpList()
public void setIpList(String[] IpList)
IpList - Blocklisted/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 © 2022. All rights reserved.