public static final class ModifyVpnPbrRouteEntryAttributeRequest.Builder extends Object
public ModifyVpnPbrRouteEntryAttributeRequest.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 ModifyVpnPbrRouteEntryAttributeRequest.Builder newPriority(Integer newPriority)
A smaller value indicates a higher priority. If you do not specify this parameter, the priority of the policy-based route is not modified. > You must specify at least one of **NewPriority** and **NewWeight**.
public ModifyVpnPbrRouteEntryAttributeRequest.Builder newWeight(Integer newWeight)
* **100**: The IPsec-VPN connection associated with the policy-based route serves as the active connection. * **0**: The IPsec-VPN connection associated with the policy-based route serves as the standby connection. If you do not specify this parameter, the weight of the policy-based route is not modified. > You must specify at least one of **NewPriority** and **NewWeight**.
public ModifyVpnPbrRouteEntryAttributeRequest.Builder nextHop(String nextHop)
public ModifyVpnPbrRouteEntryAttributeRequest.Builder ownerAccount(String ownerAccount)
public ModifyVpnPbrRouteEntryAttributeRequest.Builder ownerId(Long ownerId)
public ModifyVpnPbrRouteEntryAttributeRequest.Builder priority(Integer priority)
A smaller value indicates a higher priority.
public ModifyVpnPbrRouteEntryAttributeRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public ModifyVpnPbrRouteEntryAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyVpnPbrRouteEntryAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyVpnPbrRouteEntryAttributeRequest.Builder routeDest(String routeDest)
public ModifyVpnPbrRouteEntryAttributeRequest.Builder routeSource(String routeSource)
public ModifyVpnPbrRouteEntryAttributeRequest.Builder vpnGatewayId(String vpnGatewayId)
public ModifyVpnPbrRouteEntryAttributeRequest.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 ModifyVpnPbrRouteEntryAttributeRequest build()
Copyright © 2024. All rights reserved.