public static final class ModifyVpnPbrRouteEntryWeightRequest.Builder extends Object
public ModifyVpnPbrRouteEntryWeightRequest.Builder clientToken(String clientToken)
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters. > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
public ModifyVpnPbrRouteEntryWeightRequest.Builder newWeight(Integer newWeight)
* **100**: The IPsec-VPN connection associated with the policy-based route serves as an active connection. * **0**: The IPsec-VPN connection associated with the policy-based route serves as a standby connection.
public ModifyVpnPbrRouteEntryWeightRequest.Builder nextHop(String nextHop)
public ModifyVpnPbrRouteEntryWeightRequest.Builder overlayMode(String overlayMode)
public ModifyVpnPbrRouteEntryWeightRequest.Builder ownerAccount(String ownerAccount)
public ModifyVpnPbrRouteEntryWeightRequest.Builder ownerId(Long ownerId)
public ModifyVpnPbrRouteEntryWeightRequest.Builder priority(Integer priority)
* If the route was not assigned a priority, this parameter is optional. * If the route was assigned a priority, this parameter is optional. If you specify this parameter, set the value to the priority that was assigned to the policy-based route. Otherwise, the operation fails.
public ModifyVpnPbrRouteEntryWeightRequest.Builder regionId(String regionId)
public ModifyVpnPbrRouteEntryWeightRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyVpnPbrRouteEntryWeightRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyVpnPbrRouteEntryWeightRequest.Builder routeDest(String routeDest)
public ModifyVpnPbrRouteEntryWeightRequest.Builder routeSource(String routeSource)
public ModifyVpnPbrRouteEntryWeightRequest.Builder vpnGatewayId(String vpnGatewayId)
public ModifyVpnPbrRouteEntryWeightRequest.Builder weight(Integer weight)
* **100**: The IPsec-VPN connection associated with the policy-based route serves as an active connection. * **0**: The IPsec-VPN connection associated with the policy-based route serves as a standby connection.
public ModifyVpnPbrRouteEntryWeightRequest build()
Copyright © 2024. All rights reserved.