com.tencentcloudapi.dayu.v20180709.models.DescribeDDoSDefendStatusRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.dayu.v20180709.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeDDoSDefendStatusRequest extends AbstractModel{
/**
* Anti-DDoS service type. `basic`: Anti-DDoS Basic, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS (multi-IP), `bgpip`: Anti-DDoS Advanced, `net`: Anti-DDoS Ultimate
*/
@SerializedName("Business")
@Expose
private String Business;
/**
* Instance ID, which is required only if `Business` is not `basic`.
*/
@SerializedName("Id")
@Expose
private String Id;
/**
* Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic;
*/
@SerializedName("Ip")
@Expose
private String Ip;
/**
* Type of products bound to the anti-DDoS instance, which is required only if `Business` is Anti-DDoS Basic. Valid values: [public (CVM), bm (Bare metal products), eni (elastic network interface), vpngw (VPN Gateway), natgw (NAT Gateway), waf (Web Application Firewall), fpc (Finance products), gaap (GAAP), other (hosted IP)]
*/
@SerializedName("BizType")
@Expose
private String BizType;
/**
* 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)]
*/
@SerializedName("DeviceType")
@Expose
private String DeviceType;
/**
* 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`;
*/
@SerializedName("InstanceId")
@Expose
private String InstanceId;
/**
* 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": Nanjing
*/
@SerializedName("IPRegion")
@Expose
private String IPRegion;
/**
* Get Anti-DDoS service type. `basic`: Anti-DDoS Basic, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS (multi-IP), `bgpip`: Anti-DDoS Advanced, `net`: Anti-DDoS Ultimate
* @return Business Anti-DDoS service type. `basic`: Anti-DDoS Basic, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS (multi-IP), `bgpip`: Anti-DDoS Advanced, `net`: Anti-DDoS Ultimate
*/
public String getBusiness() {
return this.Business;
}
/**
* Set Anti-DDoS service type. `basic`: Anti-DDoS Basic, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS (multi-IP), `bgpip`: Anti-DDoS Advanced, `net`: Anti-DDoS Ultimate
* @param Business Anti-DDoS service type. `basic`: Anti-DDoS Basic, `bgp`: Anti-DDoS Pro (single IP), `bgp-multip`: Anti-DDoS (multi-IP), `bgpip`: Anti-DDoS Advanced, `net`: Anti-DDoS Ultimate
*/
public void setBusiness(String Business) {
this.Business = Business;
}
/**
* Get Instance ID, which is required only if `Business` is not `basic`.
* @return Id Instance ID, which is required only if `Business` is not `basic`.
*/
public String getId() {
return this.Id;
}
/**
* Set Instance ID, which is required only if `Business` is not `basic`.
* @param Id Instance ID, which is required only if `Business` is not `basic`.
*/
public void setId(String Id) {
this.Id = Id;
}
/**
* Get Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic;
* @return Ip Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic;
*/
public String getIp() {
return this.Ip;
}
/**
* Set Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic;
* @param Ip Anti-DDoS Basic IP, which is required only if `Business` is Anti-DDoS Basic;
*/
public void setIp(String Ip) {
this.Ip = Ip;
}
/**
* Get Type of products bound to the anti-DDoS instance, which is required only if `Business` is Anti-DDoS Basic. Valid values: [public (CVM), bm (Bare metal products), eni (elastic network interface), vpngw (VPN Gateway), natgw (NAT Gateway), waf (Web Application Firewall), fpc (Finance products), gaap (GAAP), other (hosted IP)]
* @return BizType Type of products bound to the anti-DDoS instance, which is required only if `Business` is Anti-DDoS Basic. Valid values: [public (CVM), bm (Bare metal products), eni (elastic network interface), vpngw (VPN Gateway), natgw (NAT Gateway), waf (Web Application Firewall), fpc (Finance products), gaap (GAAP), other (hosted IP)]
*/
public String getBizType() {
return this.BizType;
}
/**
* Set Type of products bound to the anti-DDoS instance, which is required only if `Business` is Anti-DDoS Basic. Valid values: [public (CVM), bm (Bare metal products), eni (elastic network interface), vpngw (VPN Gateway), natgw (NAT Gateway), waf (Web Application Firewall), fpc (Finance products), gaap (GAAP), other (hosted IP)]
* @param BizType Type of products bound to the anti-DDoS instance, which is required only if `Business` is Anti-DDoS Basic. Valid values: [public (CVM), bm (Bare metal products), eni (elastic network interface), vpngw (VPN Gateway), natgw (NAT Gateway), waf (Web Application Firewall), fpc (Finance products), gaap (GAAP), other (hosted IP)]
*/
public void setBizType(String BizType) {
this.BizType = BizType;
}
/**
* Get 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)]
* @return 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 getDeviceType() {
return this.DeviceType;
}
/**
* Set 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)]
* @param 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 void setDeviceType(String DeviceType) {
this.DeviceType = DeviceType;
}
/**
* Get 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`;
* @return 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 getInstanceId() {
return this.InstanceId;
}
/**
* Set 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`;
* @param 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 void setInstanceId(String InstanceId) {
this.InstanceId = InstanceId;
}
/**
* Get 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": Nanjing
* @return 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": Nanjing
*/
public String getIPRegion() {
return this.IPRegion;
}
/**
* Set 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": Nanjing
* @param 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": Nanjing
*/
public void setIPRegion(String IPRegion) {
this.IPRegion = IPRegion;
}
public DescribeDDoSDefendStatusRequest() {
}
/**
* 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.
*/
public DescribeDDoSDefendStatusRequest(DescribeDDoSDefendStatusRequest source) {
if (source.Business != null) {
this.Business = new String(source.Business);
}
if (source.Id != null) {
this.Id = new String(source.Id);
}
if (source.Ip != null) {
this.Ip = new String(source.Ip);
}
if (source.BizType != null) {
this.BizType = new String(source.BizType);
}
if (source.DeviceType != null) {
this.DeviceType = new String(source.DeviceType);
}
if (source.InstanceId != null) {
this.InstanceId = new String(source.InstanceId);
}
if (source.IPRegion != null) {
this.IPRegion = new String(source.IPRegion);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Business", this.Business);
this.setParamSimple(map, prefix + "Id", this.Id);
this.setParamSimple(map, prefix + "Ip", this.Ip);
this.setParamSimple(map, prefix + "BizType", this.BizType);
this.setParamSimple(map, prefix + "DeviceType", this.DeviceType);
this.setParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.setParamSimple(map, prefix + "IPRegion", this.IPRegion);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy