public static final class CreateVpnPbrRouteEntryRequest.Builder extends Object
public CreateVpnPbrRouteEntryRequest.Builder clientToken(String clientToken)
You can use the client to generate a 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 is different for each request.
public CreateVpnPbrRouteEntryRequest.Builder description(String description)
The description must be 1 to 100 characters in length, and cannot start with http:// or https://.
public CreateVpnPbrRouteEntryRequest.Builder nextHop(String nextHop)
public CreateVpnPbrRouteEntryRequest.Builder overlayMode(String overlayMode)
public CreateVpnPbrRouteEntryRequest.Builder ownerAccount(String ownerAccount)
public CreateVpnPbrRouteEntryRequest.Builder ownerId(Long ownerId)
public CreateVpnPbrRouteEntryRequest.Builder priority(Integer priority)
A smaller value indicates a higher priority.
public CreateVpnPbrRouteEntryRequest.Builder publishVpc(Boolean publishVpc)
* **true** * **false**
public CreateVpnPbrRouteEntryRequest.Builder regionId(String regionId)
public CreateVpnPbrRouteEntryRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateVpnPbrRouteEntryRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateVpnPbrRouteEntryRequest.Builder routeDest(String routeDest)
public CreateVpnPbrRouteEntryRequest.Builder routeSource(String routeSource)
public CreateVpnPbrRouteEntryRequest.Builder vpnGatewayId(String vpnGatewayId)
public CreateVpnPbrRouteEntryRequest.Builder weight(Integer weight)
If you use the same VPN gateway to establish active/standby IPsec-VPN connections, you can configure route weights to specify which connection is active. A value of 100 specifies the active connection, whereas a value of 0 specifies the standby connection. You can configure health checks to automatically check the connectivity of IPsec-VPN connections. If the active connection is down, the standby connection automatically takes over. For more information, see [CreateVpnConnection](~~120391~~). * **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. > If you specify active/standby IPsec-VPN connections, the active policy-based route and the standby policy-based route must have the same source and destination CIDR blocks.
public CreateVpnPbrRouteEntryRequest build()
Copyright © 2024. All rights reserved.