public class CreateL4ProxyRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateL4ProxyRequest() |
CreateL4ProxyRequest(CreateL4ProxyRequest 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 |
getAccelerateMainland()
Get Whether to enable network optimization for the Chinese mainland.
|
String |
getArea()
Get Acceleration zone of the L4 proxy instance.
|
DDosProtectionConfig |
getDDosProtectionConfig()
Get Configuration of L3/L4 DDoS protection.
|
String |
getIpv6()
Get Whether to enable IPv6 access.
|
String |
getProxyName()
Get Name of the L4 proxy instance, which can contain 1-50 characters, including a-z, 0-9, and hyphens (-).
|
String |
getStaticIp()
Get Whether to enable static IP.
|
String |
getZoneId()
Get Zone ID.
|
void |
setAccelerateMainland(String AccelerateMainland)
Set Whether to enable network optimization for the Chinese mainland.
|
void |
setArea(String Area)
Set Acceleration zone of the L4 proxy instance.
|
void |
setDDosProtectionConfig(DDosProtectionConfig DDosProtectionConfig)
Set Configuration of L3/L4 DDoS protection.
|
void |
setIpv6(String Ipv6)
Set Whether to enable IPv6 access.
|
void |
setProxyName(String ProxyName)
Set Name of the L4 proxy instance, which can contain 1-50 characters, including a-z, 0-9, and hyphens (-).
|
void |
setStaticIp(String StaticIp)
Set Whether to enable static IP.
|
void |
setZoneId(String ZoneId)
Set Zone ID.
|
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 CreateL4ProxyRequest()
public CreateL4ProxyRequest(CreateL4ProxyRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- Zone ID.public String getProxyName()
public void setProxyName(String ProxyName)
ProxyName
- Name of the L4 proxy instance, which can contain 1-50 characters, including a-z, 0-9, and hyphens (-). However, hyphens (-) cannot be used individually or consecutively and should not be placed at the beginning or end of the name. Modification is not allowed after creation.public String getArea()
public void setArea(String Area)
Area
- Acceleration zone of the L4 proxy instance.
public String getIpv6()
public void setIpv6(String Ipv6)
Ipv6
- Whether to enable IPv6 access. If this parameter is not input, the default value `off` is used. This configuration can be enabled only in certain acceleration zones and security protection configurations. For details, see [Creating an L4 Proxy Instance] (https://intl.cloud.tencent.com/document/product/1552/90025?from_cn_redirect=1). Valid values:
public String getStaticIp()
public void setStaticIp(String StaticIp)
StaticIp
- Whether to enable static IP. If this parameter is not input, the default value `off` is used. This configuration can be enabled only in certain acceleration zones and security protection configurations. For details, see [Creating an L4 Proxy Instance] (https://intl.cloud.tencent.com/document/product/1552/90025?from_cn_redirect=1). Valid values:
public String getAccelerateMainland()
public void setAccelerateMainland(String AccelerateMainland)
AccelerateMainland
- Whether to enable network optimization for the Chinese mainland. If this parameter is not input, the default value `off` is used. This configuration can be enabled only in certain acceleration zones and security protection configurations. For details, see [Creating an L4 Proxy Instance] (https://intl.cloud.tencent.com/document/product/1552/90025?from_cn_redirect=1). Valid values:
public DDosProtectionConfig getDDosProtectionConfig()
public void setDDosProtectionConfig(DDosProtectionConfig DDosProtectionConfig)
DDosProtectionConfig
- Configuration of L3/L4 DDoS protection. If this parameter is not input, the default platform protection option is used. For details, see [Exclusive DDoS Protection Usage] (https://intl.cloud.tencent.com/document/product/1552/95994?from_cn_redirect=1).Copyright © 2024. All rights reserved.