public static final class CreateVpcFirewallConfigureRequest.Builder extends Object
public CreateVpcFirewallConfigureRequest.Builder firewallSwitch(String firewallSwitch)
* **open**: After you create the VPC firewall, the firewall is automatically enabled. This is the default value. * **close**: After you create the VPC firewall, the firewall is not automatically enabled. To enable the firewall, you can call the [ModifyVpcFirewallSwitchStatus](~~342935~~) operation.
public CreateVpcFirewallConfigureRequest.Builder lang(String lang)
* **zh**: Chinese (default) * **en**: English
public CreateVpcFirewallConfigureRequest.Builder localVpcCidrTableList(String localVpcCidrTableList)
* **RouteTableId**: the ID of the route table for the local VPC. * **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the local VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the local VPC.
public CreateVpcFirewallConfigureRequest.Builder localVpcId(String localVpcId)
public CreateVpcFirewallConfigureRequest.Builder localVpcRegion(String localVpcRegion)
> For more information about regions in which Cloud Firewall is supported, see [Supported regions](~~195657~~).
public CreateVpcFirewallConfigureRequest.Builder memberUid(String memberUid)
public CreateVpcFirewallConfigureRequest.Builder peerVpcCidrTableList(String peerVpcCidrTableList)
* **RouteTableId**: the ID of the route table for the peer VPC. * **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the peer VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the peer VPC.
public CreateVpcFirewallConfigureRequest.Builder peerVpcId(String peerVpcId)
public CreateVpcFirewallConfigureRequest.Builder peerVpcRegion(String peerVpcRegion)
> For more information about regions in which Cloud Firewall is supported, see [Supported regions](~~195657~~).
public CreateVpcFirewallConfigureRequest.Builder vpcFirewallName(String vpcFirewallName)
public CreateVpcFirewallConfigureRequest build()
Copyright © 2023. All rights reserved.