public static final class PublishVpnRouteEntryRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
PublishVpnRouteEntryRequest |
build() |
PublishVpnRouteEntryRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
PublishVpnRouteEntryRequest.Builder |
nextHop(String nextHop)
The next hop of the VPN gateway route.
|
PublishVpnRouteEntryRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
PublishVpnRouteEntryRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
PublishVpnRouteEntryRequest.Builder |
publishVpc(Boolean publishVpc)
Specifies whether to advertise the VPN gateway route to the VPC route table.
|
PublishVpnRouteEntryRequest.Builder |
regionId(String regionId)
The ID of the region where the VPN gateway is created.
|
PublishVpnRouteEntryRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
PublishVpnRouteEntryRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
PublishVpnRouteEntryRequest.Builder |
routeDest(String routeDest)
The destination CIDR block of the VPN gateway route.
|
PublishVpnRouteEntryRequest.Builder |
routeType(String routeType)
The type of the VPN gateway route.
|
PublishVpnRouteEntryRequest.Builder |
vpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway.
|
public PublishVpnRouteEntryRequest.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 token can contain only ASCII characters and cannot exceed 64 characters in length. > 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 PublishVpnRouteEntryRequest.Builder nextHop(String nextHop)
public PublishVpnRouteEntryRequest.Builder ownerAccount(String ownerAccount)
public PublishVpnRouteEntryRequest.Builder ownerId(Long ownerId)
public PublishVpnRouteEntryRequest.Builder publishVpc(Boolean publishVpc)
* **true** * **false**
public PublishVpnRouteEntryRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public PublishVpnRouteEntryRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public PublishVpnRouteEntryRequest.Builder resourceOwnerId(Long resourceOwnerId)
public PublishVpnRouteEntryRequest.Builder routeDest(String routeDest)
public PublishVpnRouteEntryRequest.Builder routeType(String routeType)
* **pbr**: policy-based route * **dbr**: destination-based route
public PublishVpnRouteEntryRequest.Builder vpnGatewayId(String vpnGatewayId)
public PublishVpnRouteEntryRequest build()
Copyright © 2024. All rights reserved.