public static final class CreateVcoRouteEntryRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateVcoRouteEntryRequest |
build() |
CreateVcoRouteEntryRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
CreateVcoRouteEntryRequest.Builder |
description(String description)
The description of the destination-based route.
|
CreateVcoRouteEntryRequest.Builder |
nextHop(String nextHop)
The next hop of the destination-based route.
|
CreateVcoRouteEntryRequest.Builder |
overlayMode(String overlayMode)
The tunneling protocol.
|
CreateVcoRouteEntryRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateVcoRouteEntryRequest.Builder |
regionId(String regionId)
The ID of the region where the IPsec-VPN connection is established.
|
CreateVcoRouteEntryRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateVcoRouteEntryRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateVcoRouteEntryRequest.Builder |
routeDest(String routeDest)
The destination CIDR block of the destination-based route.
|
CreateVcoRouteEntryRequest.Builder |
vpnConnectionId(String vpnConnectionId)
The ID of the IPsec-VPN connection.
|
CreateVcoRouteEntryRequest.Builder |
weight(Integer weight)
The weight of the destination-based route.
|
public CreateVcoRouteEntryRequest.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 CreateVcoRouteEntryRequest.Builder description(String description)
public CreateVcoRouteEntryRequest.Builder nextHop(String nextHop)
public CreateVcoRouteEntryRequest.Builder overlayMode(String overlayMode)
public CreateVcoRouteEntryRequest.Builder ownerAccount(String ownerAccount)
public CreateVcoRouteEntryRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public CreateVcoRouteEntryRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateVcoRouteEntryRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateVcoRouteEntryRequest.Builder routeDest(String routeDest)
public CreateVcoRouteEntryRequest.Builder vpnConnectionId(String vpnConnectionId)
public CreateVcoRouteEntryRequest.Builder weight(Integer weight)
* **0**: a low priority * **100**: a high priority
public CreateVcoRouteEntryRequest build()
Copyright © 2024. All rights reserved.