public class ModifyCCThresholdRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyCCThresholdRequest() |
ModifyCCThresholdRequest(ModifyCCThresholdRequest 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 |
getBasicBizType()
Get Zone type (only provided for Anti-DDoS Basic).
|
String |
getBasicDeviceType()
Get Device type (only provided for Anti-DDoS Basic).
|
String |
getBasicIp()
Get Queried IP address (only provided by Anti-DDoS Basic), such as 1.1.1.1
|
String |
getBasicIpInstance()
Get IPInstance Nat gateway (only provided for Anti-DDoS Basic), which is optional.
|
Long |
getBasicIspCode()
Get ISP line (only provided for Anti-DDoS Basic), which is optional.
|
String |
getBasicRegion()
Get IP region (only provided for Anti-DDoS Basic).
|
String |
getBusiness()
Get Anti-DDoS service type.
|
String |
getDomain()
Get This optional field must be specified when HTTPS protocol is used.
|
String |
getId()
Get Anti-DDoS instance ID
|
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);
Required if `Protocol` is `https`;
|
Long |
getThreshold()
Get CC protection threshold.
|
void |
setBasicBizType(String BasicBizType)
Set Zone type (only provided for Anti-DDoS Basic).
|
void |
setBasicDeviceType(String BasicDeviceType)
Set Device type (only provided for Anti-DDoS Basic).
|
void |
setBasicIp(String BasicIp)
Set Queried IP address (only provided by Anti-DDoS Basic), such as 1.1.1.1
|
void |
setBasicIpInstance(String BasicIpInstance)
Set IPInstance Nat gateway (only provided for Anti-DDoS Basic), which is optional.
|
void |
setBasicIspCode(Long BasicIspCode)
Set ISP line (only provided for Anti-DDoS Basic), which is optional.
|
void |
setBasicRegion(String BasicRegion)
Set IP region (only provided for Anti-DDoS Basic).
|
void |
setBusiness(String Business)
Set Anti-DDoS service type.
|
void |
setDomain(String Domain)
Set This optional field must be specified when HTTPS protocol is used.
|
void |
setId(String Id)
Set Anti-DDoS instance ID
|
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);
Required if `Protocol` is `https`;
|
void |
setThreshold(Long Threshold)
Set CC protection threshold.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyCCThresholdRequest()
public ModifyCCThresholdRequest(ModifyCCThresholdRequest 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 Ultimate, `basic`: Anti-DDoS Basicpublic Long getThreshold()
public void setThreshold(Long Threshold)
Threshold
- CC protection threshold. Valid values: (0 100 150 240 350 480 550 700 850 1000 1500 2000 3000 5000 10000 20000);
If `Business` is Anti-DDoS Advanced or Anti-DDoS Ultimate, its maximum CC protection threshold is subject to the base protection bandwidth in the following way:
Base bandwidth: maximum CC protection threshold
10: 20000,
20: 40000,
30: 70000,
40: 100000,
50: 150000,
60: 200000,
80: 250000,
100: 300000,public String getId()
public void setId(String Id)
Id
- Anti-DDoS instance IDpublic 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
- HTTPS layer-7 forwarding rule ID (which is optional and can be obtained from the layer-7 forwarding rule API);
Required if `Protocol` is `https`;public String getBasicIp()
public void setBasicIp(String BasicIp)
BasicIp
- Queried IP address (only provided by Anti-DDoS Basic), such as 1.1.1.1public String getBasicRegion()
public void setBasicRegion(String BasicRegion)
BasicRegion
- IP region (only provided for Anti-DDoS Basic). Valid values: region abbreviations such as gz, bj, sh, and hkpublic String getBasicBizType()
public void setBasicBizType(String BasicBizType)
BasicBizType
- Zone type (only provided for Anti-DDoS Basic). Valid values: public (public cloud zone), bm (BM zone), nat (NAT server zone), channel (internet channel).public String getBasicDeviceType()
public void setBasicDeviceType(String BasicDeviceType)
BasicDeviceType
- Device type (only provided for Anti-DDoS Basic). Valid values: cvm (CVM), clb (public CLB), lb (BM CLB), nat (NAT server), channel (internet channel).public String getBasicIpInstance()
public void setBasicIpInstance(String BasicIpInstance)
BasicIpInstance
- IPInstance Nat gateway (only provided for Anti-DDoS Basic), which is optional. (If the device type to be queried is a NAT server, this parameter is required, which can be obtained through the NAT resource query API)public Long getBasicIspCode()
public void setBasicIspCode(Long BasicIspCode)
BasicIspCode
- ISP line (only provided for Anti-DDoS Basic), which is optional. (If the device type to be queried is a NAT server, this parameter should be 5)public String getDomain()
public void setDomain(String Domain)
Domain
- This optional field must be specified when HTTPS protocol is used.Copyright © 2024. All rights reserved.