public static final class CreateTrFirewallV2Request.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateTrFirewallV2Request |
build() |
CreateTrFirewallV2Request.Builder |
cenId(String cenId)
The ID of the Cloud Enterprise Network (CEN) instance.
|
CreateTrFirewallV2Request.Builder |
firewallDescription(String firewallDescription)
The description of the firewall.
|
CreateTrFirewallV2Request.Builder |
firewallName(String firewallName)
The name of the firewall.
|
CreateTrFirewallV2Request.Builder |
firewallSubnetCidr(String firewallSubnetCidr)
The subnet CIDR block of the VPC in which the ENI of the firewall is stored in automatic mode.
|
CreateTrFirewallV2Request.Builder |
firewallVpcCidr(String firewallVpcCidr)
The CIDR block that is allocated to the VPC created for the VPC firewall in automatic mode.
|
CreateTrFirewallV2Request.Builder |
firewallVpcId(String firewallVpcId)
The ID of the VPC in which the ENI associated with the VPC firewall is created in manual mode.
|
CreateTrFirewallV2Request.Builder |
firewallVswitchId(String firewallVswitchId)
The ID of the vSwitch that is used to create the ENI in manual mode.
|
CreateTrFirewallV2Request.Builder |
lang(String lang)
The language of the content within the response.
|
CreateTrFirewallV2Request.Builder |
regionNo(String regionNo)
The region ID of the route router.
|
CreateTrFirewallV2Request.Builder |
routeMode(String routeMode)
The routing mode of the VPC firewall.
|
CreateTrFirewallV2Request.Builder |
transitRouterId(String transitRouterId)
The ID of the transit router.
|
CreateTrFirewallV2Request.Builder |
trAttachmentMasterCidr(String trAttachmentMasterCidr)
The primary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
|
CreateTrFirewallV2Request.Builder |
trAttachmentMasterZone(String trAttachmentMasterZone)
The primary zone for the vSwitch.
|
CreateTrFirewallV2Request.Builder |
trAttachmentSlaveCidr(String trAttachmentSlaveCidr)
The secondary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
|
CreateTrFirewallV2Request.Builder |
trAttachmentSlaveZone(String trAttachmentSlaveZone)
The secondary zone for the vSwitch.
|
public CreateTrFirewallV2Request.Builder cenId(String cenId)
The ID of the Cloud Enterprise Network (CEN) instance.
example:cen-4xbjup276au29r****
public CreateTrFirewallV2Request.Builder firewallDescription(String firewallDescription)
The description of the firewall.
example:vfw-sz
public CreateTrFirewallV2Request.Builder firewallName(String firewallName)
The name of the firewall.
example:cfw_test2
public CreateTrFirewallV2Request.Builder firewallSubnetCidr(String firewallSubnetCidr)
The subnet CIDR block of the VPC in which the ENI of the firewall is stored in automatic mode.
example:10.0.1.0/24
public CreateTrFirewallV2Request.Builder firewallVpcCidr(String firewallVpcCidr)
The CIDR block that is allocated to the VPC created for the VPC firewall in automatic mode.
example:10.0.0.0/16
public CreateTrFirewallV2Request.Builder firewallVpcId(String firewallVpcId)
The ID of the VPC in which the ENI associated with the VPC firewall is created in manual mode.
example:vpc-wz9r5qvryn0lg3atb****
public CreateTrFirewallV2Request.Builder firewallVswitchId(String firewallVswitchId)
The ID of the vSwitch that is used to create the ENI in manual mode.
example:vsw-uf6ydz3vqj77mr5l6****
public CreateTrFirewallV2Request.Builder lang(String lang)
The language of the content within the response. Valid values:
zh
public CreateTrFirewallV2Request.Builder regionNo(String regionNo)
The region ID of the route router.
example:cn-hangzhou
public CreateTrFirewallV2Request.Builder routeMode(String routeMode)
The routing mode of the VPC firewall. Valid values:
managed
public CreateTrFirewallV2Request.Builder trAttachmentMasterCidr(String trAttachmentMasterCidr)
The primary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
example:10.0.3.0/24
public CreateTrFirewallV2Request.Builder trAttachmentMasterZone(String trAttachmentMasterZone)
The primary zone for the vSwitch.
example:cn-chengdu-a
public CreateTrFirewallV2Request.Builder trAttachmentSlaveCidr(String trAttachmentSlaveCidr)
The secondary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.
example:10.0.0.16/28
public CreateTrFirewallV2Request.Builder trAttachmentSlaveZone(String trAttachmentSlaveZone)
The secondary zone for the vSwitch.
example:cn-chengdu-b
public CreateTrFirewallV2Request.Builder transitRouterId(String transitRouterId)
The ID of the transit router.
example:tr-m5etmb2q7e0mxcur****
public CreateTrFirewallV2Request build()
Copyright © 2026. All rights reserved.