public class ModifyDDoSSwitchRequest extends AbstractModel
Constructor and Description |
---|
ModifyDDoSSwitchRequest() |
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.
|
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.
|
String |
getMethod()
Get `get`: read DDoS protection status, `set`: modify DDoS protection status
|
Long |
getStatus()
Get Protection status value, which is optional.
|
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 |
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 |
setMethod(String Method)
Set `get`: read DDoS protection status, `set`: modify DDoS protection status
|
void |
setStatus(Long Status)
Set Protection status value, which is optional.
|
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. `basic`: Anti-DDoS Basicpublic String getMethod()
public void setMethod(String Method)
Method
- `get`: read DDoS protection status, `set`: modify DDoS protection statuspublic 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": Nanjingpublic Long getStatus()
public void setStatus(Long Status)
Status
- Protection status value, which is optional. Valid values: [0 (disabled), 1 (enabled)]. If `Method` is `get`, this field can be left empty;Copyright © 2020. All rights reserved.