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 是否开启中国大陆网络优化,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
on:开启;
off:关闭。 | 
| String | getArea()Get 四层代理实例加速区域。
mainland:中国大陆可用区;
overseas:全球可用区(不含中国大陆);
global:全球可用区。 | 
| DDosProtectionConfig | getDDosProtectionConfig()Get L3/L4 DDoS 防护配置,不填写时默认使用平台默认防护选项。详情参考 [独立 DDoS 防护](https://cloud.tencent.com/document/product/1552/95994)。 | 
| String | getIpv6()Get 是否开启 IPv6 访问,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
on:开启;
off:关闭。 | 
| String | getProxyName()Get 四层代理实例名称,可输入 1-50 个字符,允许的字符为 a-z、0-9、-,且 - 不能单独注册或连续使用,不能放在开头或结尾。创建完成后不支持修改。 | 
| String | getStaticIp()Get 是否开启固定 IP,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
on:开启;
off:关闭。 | 
| String | getZoneId()Get 站点 ID。 | 
| void | setAccelerateMainland(String AccelerateMainland)Set 是否开启中国大陆网络优化,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
on:开启;
off:关闭。 | 
| void | setArea(String Area)Set 四层代理实例加速区域。
mainland:中国大陆可用区;
overseas:全球可用区(不含中国大陆);
global:全球可用区。 | 
| void | setDDosProtectionConfig(DDosProtectionConfig DDosProtectionConfig)Set L3/L4 DDoS 防护配置,不填写时默认使用平台默认防护选项。详情参考 [独立 DDoS 防护](https://cloud.tencent.com/document/product/1552/95994)。 | 
| void | setIpv6(String Ipv6)Set 是否开启 IPv6 访问,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
on:开启;
off:关闭。 | 
| void | setProxyName(String ProxyName)Set 四层代理实例名称,可输入 1-50 个字符,允许的字符为 a-z、0-9、-,且 - 不能单独注册或连续使用,不能放在开头或结尾。创建完成后不支持修改。 | 
| void | setStaticIp(String StaticIp)Set 是否开启固定 IP,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
on:开启;
off:关闭。 | 
| void | setZoneId(String ZoneId)Set 站点 ID。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateL4ProxyRequest()
public CreateL4ProxyRequest(CreateL4ProxyRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId - 站点 ID。public String getProxyName()
public void setProxyName(String ProxyName)
ProxyName - 四层代理实例名称,可输入 1-50 个字符,允许的字符为 a-z、0-9、-,且 - 不能单独注册或连续使用,不能放在开头或结尾。创建完成后不支持修改。public String getArea()
public void setArea(String Area)
Area - 四层代理实例加速区域。
public String getIpv6()
public void setIpv6(String Ipv6)
Ipv6 - 是否开启 IPv6 访问,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
public String getStaticIp()
public void setStaticIp(String StaticIp)
StaticIp - 是否开启固定 IP,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
public String getAccelerateMainland()
public void setAccelerateMainland(String AccelerateMainland)
AccelerateMainland - 是否开启中国大陆网络优化,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为:
public DDosProtectionConfig getDDosProtectionConfig()
public void setDDosProtectionConfig(DDosProtectionConfig DDosProtectionConfig)
DDosProtectionConfig - L3/L4 DDoS 防护配置,不填写时默认使用平台默认防护选项。详情参考 [独立 DDoS 防护](https://cloud.tencent.com/document/product/1552/95994)。Copyright © 2025. All rights reserved.