public class ModifyDDoSDefendStatusRequest extends AbstractModel
Constructor and Description |
---|
ModifyDDoSDefendStatusRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getBizType()
Get Product type of IP, which is required only if `Business` is Anti-DDoS Basic.
|
String |
getBusiness()
Get Anti-DDoS service type.
|
String |
getDeviceType()
Get Product subtype of IP, which is required only if `Business` is Anti-DDoS Basic.
|
Long |
getHour()
Get Disablement duration in hours.
|
String |
getId()
Get Resource ID, which is required if `Business` is not Anti-DDoS Basic;
|
String |
getInstanceId()
Get Resource instance ID of IP, which is required only if `Business` is Anti-DDoS Basic.
|
String |
getIp()
Get Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic;
|
String |
getIPRegion()
Get This field is required only if `Business` is Anti-DDoS Basic, indicating the IP region.
|
Long |
getStatus()
Get Protection status.
|
void |
setBizType(String BizType)
Set Product type of IP, which is required only if `Business` is Anti-DDoS Basic.
|
void |
setBusiness(String Business)
Set Anti-DDoS service type.
|
void |
setDeviceType(String DeviceType)
Set Product subtype of IP, which is required only if `Business` is Anti-DDoS Basic.
|
void |
setHour(Long Hour)
Set Disablement duration in hours.
|
void |
setId(String Id)
Set Resource ID, which is required if `Business` is not Anti-DDoS Basic;
|
void |
setInstanceId(String InstanceId)
Set Resource instance ID of IP, which is required only if `Business` is Anti-DDoS Basic.
|
void |
setIp(String Ip)
Set Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic;
|
void |
setIPRegion(String IPRegion)
Set This field is required only if `Business` is Anti-DDoS Basic, indicating the IP region.
|
void |
setStatus(Long Status)
Set Protection status.
|
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. `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS Pro (multi-IP), `bgpip`: Anti-DDoS Advanced, `net`: Anti-DDoS Ultimate, `basic`: Anti-DDoS Basicpublic Long getStatus()
public void setStatus(Long Status)
Status
- Protection status. Valid values: [0 (disabled), 1 (enabled)]public Long getHour()
public void setHour(Long Hour)
Hour
- Disablement duration in hours. Valid values: [0, 1, 2, 3, 4, 5, 6]. If `Status` is `0` (indicating to disable), `Hour` must be greater than 0;public String getId()
public void setId(String Id)
Id
- Resource ID, which is required if `Business` is not Anti-DDoS Basic;public String getIp()
public void setIp(String Ip)
Ip
- Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic;public String getBizType()
public void setBizType(String BizType)
BizType
- Product type of IP, which is required only if `Business` is Anti-DDoS Basic. Valid values: [public (CVM), bm (BM), eni (ENI), vpngw (VPN Gateway), natgw (NAT Gateway), waf (WAF), fpc (finance product), gaap (GAAP), other (hosted IP)]public String getDeviceType()
public void setDeviceType(String DeviceType)
DeviceType
- Product subtype of IP, which is required only if `Business` is Anti-DDoS Basic. Valid values: [cvm (CVM), lb (CLB), eni (ENI), vpngw (VPN), natgw (NAT), waf (WAF), fpc (finance), gaap (GAAP), other (hosted IP), eip (BM EIP)]public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Resource instance ID of IP, which is required only if `Business` is Anti-DDoS Basic. This field is required when binding a new IP. For example, if it is an ENI IP, enter `ID(eni-*)` of the ENI for `InstanceId`;public String getIPRegion()
public void setIPRegion(String IPRegion)
IPRegion
- This field is required only if `Business` is Anti-DDoS Basic, indicating the IP region. Valid values:
"bj": North China (Beijing)
"cd": Southwest China (Chengdu)
"cq": Southwest China (Chongqing)
"gz": South China (Guangzhou)
"gzopen": South China (Guangzhou Open)
"hk": Hong Kong (China)
"kr": Southeast Asia (Seoul)
"sh": East China (Shanghai)
"shjr": East China (Shanghai Finance)
"szjr": South China (Shenzhen Finance)
"sg": Southeast Asia (Singapore)
"th": Southeast Asia (Thailand)
"de": Europe (Germany)
"usw": West US (Silicon Valley)
"ca": North America (Toronto)
"jp": Japan
"hzec": Hangzhou
"in": India
"use": East US (Virginia)
"ru": Russia
"tpe": Taiwan (China)
"nj": NanjingCopyright © 2020. All rights reserved.