public class ModifyCCLevelRequest extends AbstractModel
Constructor and Description |
---|
ModifyCCLevelRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getBusiness()
Get Anti-DDoS service type.
|
String |
getId()
Get Anti-DDoS instance ID
|
String |
getLevel()
Get CC protection level.
|
String |
getProtocol()
Get CC protection type, which is optional.
|
String |
getRuleId()
Get Layer-7 forwarding rule ID (which can be obtained from the layer-7 forwarding rule API);
|
void |
setBusiness(String Business)
Set Anti-DDoS service type.
|
void |
setId(String Id)
Set Anti-DDoS instance ID
|
void |
setLevel(String Level)
Set CC protection level.
|
void |
setProtocol(String Protocol)
Set CC protection type, which is optional.
|
void |
setRuleId(String RuleId)
Set Layer-7 forwarding rule ID (which can be obtained from the layer-7 forwarding rule API);
|
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 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 getLevel()
public void setLevel(String Level)
Level
- CC protection level. Valid values: [default (normal), loose (loose), strict (strict)];public 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 `RuleId` field is required;public String getRuleId()
public void setRuleId(String RuleId)
RuleId
- Layer-7 forwarding rule ID (which can be obtained from the layer-7 forwarding rule API);Copyright © 2020. All rights reserved.