public class PublishVpnRouteEntryRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
nextHop
The next hop of the VPN gateway route.
|
String |
ownerAccount |
Long |
ownerId |
Boolean |
publishVpc
Specifies whether to advertise the VPN gateway route to the VPC route table.
|
String |
regionId
The ID of the region where the VPN gateway is created.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
routeDest
The destination CIDR block of the VPN gateway route.
|
String |
routeType
The type of the VPN gateway route.
|
String |
vpnGatewayId
The ID of the VPN gateway.
|
构造器和说明 |
---|
PublishVpnRouteEntryRequest() |
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
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.
example: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.
d7d24a21-f4ba-4454-9173-b382****
@NameInMap(value="NextHop") public String nextHop
The next hop of the VPN gateway route.
This parameter is required.
example:vco-bp15oes1py4i66rmd****
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PublishVpc") public Boolean publishVpc
Specifies whether to advertise the VPN gateway route to the VPC route table. Valid values:
This parameter is required.
example:true
@NameInMap(value="RegionId") public String regionId
The ID of the region where the VPN gateway is created.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="RouteDest") public String routeDest
The destination CIDR block of the VPN gateway route.
This parameter is required.
example:10.0.0.0/24
@NameInMap(value="RouteType") public String routeType
The type of the VPN gateway route. Valid values:
This parameter is required.
example:pbr
@NameInMap(value="VpnGatewayId") public String vpnGatewayId
The ID of the VPN gateway.
This parameter is required.
example:vpn-bp1a3kqjiiq9legfx****
public static PublishVpnRouteEntryRequest build(Map<String,?> map) throws Exception
Exception
public PublishVpnRouteEntryRequest setClientToken(String clientToken)
public String getClientToken()
public PublishVpnRouteEntryRequest setNextHop(String nextHop)
public String getNextHop()
public PublishVpnRouteEntryRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public PublishVpnRouteEntryRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public PublishVpnRouteEntryRequest setPublishVpc(Boolean publishVpc)
public Boolean getPublishVpc()
public PublishVpnRouteEntryRequest setRegionId(String regionId)
public String getRegionId()
public PublishVpnRouteEntryRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public PublishVpnRouteEntryRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public PublishVpnRouteEntryRequest setRouteDest(String routeDest)
public String getRouteDest()
public PublishVpnRouteEntryRequest setRouteType(String routeType)
public String getRouteType()
public PublishVpnRouteEntryRequest setVpnGatewayId(String vpnGatewayId)
public String getVpnGatewayId()
Copyright © 2024. All rights reserved.