public class ModifyCCUrlAllowRequest extends AbstractModel
Constructor and Description |
---|
ModifyCCUrlAllowRequest() |
ModifyCCUrlAllowRequest(ModifyCCUrlAllowRequest 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 |
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).
|
String |
getType()
Get Blocklist/allowlist type.
|
String[] |
getUrlList()
Get URL array.
|
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 |
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).
|
void |
setType(String Type)
Set Blocklist/allowlist type.
|
void |
setUrlList(String[] UrlList)
Set URL array.
|
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, toJsonString
public ModifyCCUrlAllowRequest()
public ModifyCCUrlAllowRequest(ModifyCCUrlAllowRequest 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 value: [white (allowlist)]public String[] getUrlList()
public void setUrlList(String[] UrlList)
UrlList
- URL array. URL format:
http://domain name/cgi
https://domain name/cgipublic 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). This field is required only when adding a rule and `Protocol` is `https`;
If `Method` is `delete`, this field can be left empty;Copyright © 2023. All rights reserved.