public static final class CreateVpcFirewallConfigureRequest.Builder extends Object
public CreateVpcFirewallConfigureRequest.Builder firewallSwitch(String firewallSwitch)
The status of the VPC firewall after you create the firewall. Valid values:
This parameter is required.
example:open
public CreateVpcFirewallConfigureRequest.Builder lang(String lang)
The language of the content within the request and the response. Valid values:
zh
public CreateVpcFirewallConfigureRequest.Builder localVpcCidrTableList(String localVpcCidrTableList)
The CIDR blocks of the local VPC. The value is a JSON string that contains the following parameters:
This parameter is required.
example:[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]
public CreateVpcFirewallConfigureRequest.Builder localVpcId(String localVpcId)
The ID of the local VPC.
This parameter is required.
example:vpc-8vbwbo90rq0anm6t****
public CreateVpcFirewallConfigureRequest.Builder localVpcRegion(String localVpcRegion)
The region ID of the local VPC.
For more information about the regions in which Cloud Firewall is available, see Supported regions.
This parameter is required.
example:cn-hangzhou
public CreateVpcFirewallConfigureRequest.Builder memberUid(String memberUid)
The UID of the member that is managed by your Alibaba Cloud account.
example:258039427902****
public CreateVpcFirewallConfigureRequest.Builder peerVpcCidrTableList(String peerVpcCidrTableList)
The CIDR blocks of the peer VPC. The value is a JSON string that contains the following parameters:
This parameter is required.
example:[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]
public CreateVpcFirewallConfigureRequest.Builder peerVpcId(String peerVpcId)
The ID of the peer VPC.
This parameter is required.
example:vpc-wb8vbo90rq0anm6t****
public CreateVpcFirewallConfigureRequest.Builder peerVpcRegion(String peerVpcRegion)
The region ID of the peer VPC.
For more information about Cloud Firewall supported regions, see Supported regions.
This parameter is required.
example:cn-shanghai
public CreateVpcFirewallConfigureRequest.Builder vpcFirewallName(String vpcFirewallName)
The instance name of the VPC firewall.
This parameter is required.
example:my-vpc-firewall
public CreateVpcFirewallConfigureRequest build()
Copyright © 2026. All rights reserved.