public static final class CreateSecurityProxyRequest.Builder extends Object
public CreateSecurityProxyRequest.Builder firewallSwitch(String firewallSwitch)
The status of the NAT firewall. Valid values:
close
public CreateSecurityProxyRequest.Builder lang(String lang)
The language of the content within the response. Valid values:
zh
public CreateSecurityProxyRequest.Builder natGatewayId(String natGatewayId)
The ID of the NAT gateway.
This parameter is required.
example:ngw-bp1okz6k7s4n4mnk5f1g3
public CreateSecurityProxyRequest.Builder natRouteEntryList(List<CreateSecurityProxyRequest.NatRouteEntryList> natRouteEntryList)
The routes to be switched to the NAT gateway.
This parameter is required.
public CreateSecurityProxyRequest.Builder proxyName(String proxyName)
The name of the NAT firewall. The name must be 4 to 50 characters in length, and can contain letters, digits, and underscores (_). However, it cannot start with an underscore.
This parameter is required.
example:nat-idmp-fir
public CreateSecurityProxyRequest.Builder regionNo(String regionNo)
The region ID of the virtual private cloud (VPC).
For more information about Cloud Firewall supported regions, see Supported regions.
This parameter is required.
example:cn-hangzhou
public CreateSecurityProxyRequest.Builder strictMode(Integer strictMode)
Specifies whether to enable the strict mode. Valid values:
0
public CreateSecurityProxyRequest.Builder vpcId(String vpcId)
The ID of the VPC.
This parameter is required.
example:vpc-uf6b5lyul0xfgv74i01ph
public CreateSecurityProxyRequest.Builder vswitchAuto(String vswitchAuto)
The mode of the vSwitch that you want to use. Valid values:
true
public CreateSecurityProxyRequest.Builder vswitchCidr(String vswitchCidr)
The CIDR block of the vSwitch.
example:0.0.0.0/0
public CreateSecurityProxyRequest.Builder vswitchId(String vswitchId)
The ID of the vSwitch. This parameter is required if you set the VswitchAuto parameter to true.
example:vsw-bp1sqg9wms9w9y1uxcs1x
public CreateSecurityProxyRequest build()
Copyright © 2026. All rights reserved.