public static final class ModifyFirewallV2RoutePolicySwitchRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyFirewallV2RoutePolicySwitchRequest |
build() |
ModifyFirewallV2RoutePolicySwitchRequest.Builder |
firewallId(String firewallId)
The instance ID of the virtual private cloud (VPC) firewall.
|
ModifyFirewallV2RoutePolicySwitchRequest.Builder |
lang(String lang)
The language of the content within the response.
|
ModifyFirewallV2RoutePolicySwitchRequest.Builder |
shouldRecover(String shouldRecover)
Specifies whether to restore the traffic redirection configurations.
|
ModifyFirewallV2RoutePolicySwitchRequest.Builder |
trFirewallRoutePolicyId(String trFirewallRoutePolicyId)
The ID of the routing policy.
|
ModifyFirewallV2RoutePolicySwitchRequest.Builder |
trFirewallRoutePolicySwitchStatus(String trFirewallRoutePolicySwitchStatus)
The status of the routing policy.
|
public ModifyFirewallV2RoutePolicySwitchRequest.Builder firewallId(String firewallId)
The instance ID of the virtual private cloud (VPC) firewall.
example:vfw-tr-5b202e7f0be64611****
public ModifyFirewallV2RoutePolicySwitchRequest.Builder lang(String lang)
The language of the content within the response. Valid values:
zh
public ModifyFirewallV2RoutePolicySwitchRequest.Builder shouldRecover(String shouldRecover)
Specifies whether to restore the traffic redirection configurations. Valid values:
false
public ModifyFirewallV2RoutePolicySwitchRequest.Builder trFirewallRoutePolicyId(String trFirewallRoutePolicyId)
The ID of the routing policy.
example:policy-93684cc5caa44b2e****
public ModifyFirewallV2RoutePolicySwitchRequest.Builder trFirewallRoutePolicySwitchStatus(String trFirewallRoutePolicySwitchStatus)
The status of the routing policy. Valid values:
open
public ModifyFirewallV2RoutePolicySwitchRequest build()
Copyright © 2026. All rights reserved.