public class CreateVcoRouteEntryRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The description of the destination-based route.
|
String |
nextHop
The next hop of the destination-based route.
|
String |
overlayMode
The tunneling protocol.
|
String |
ownerAccount |
String |
regionId
The ID of the region where the IPsec-VPN connection is established.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
routeDest
The destination CIDR block of the destination-based route.
|
String |
vpnConnectionId
The ID of the IPsec-VPN connection.
|
Integer |
weight
The weight of the destination-based route.
|
构造器和说明 |
---|
CreateVcoRouteEntryRequest() |
@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 client token can contain only ASCII characters.
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.
123e4567-e89b-12d3-a456-4266****
@NameInMap(value="Description") public String description
The description of the destination-based route.
example:desctest
@NameInMap(value="NextHop") public String nextHop
The next hop of the destination-based route.
This parameter is required.
example:vco-p0w2jpkhi2eeop6q6****
@NameInMap(value="OverlayMode") public String overlayMode
The tunneling protocol. Set the value to Ipsec, which specifies the IPsec tunneling protocol.
example:Ipsec
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="RegionId") public String regionId
The ID of the region where the IPsec-VPN connection is established.
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 destination-based route.
This parameter is required.
example:192.168.10.0/24
@NameInMap(value="VpnConnectionId") public String vpnConnectionId
The ID of the IPsec-VPN connection.
This parameter is required.
example:vco-p0w2jpkhi2eeop6q6****
@NameInMap(value="Weight") public Integer weight
The weight of the destination-based route. Valid values:
This parameter is required.
example:100
public static CreateVcoRouteEntryRequest build(Map<String,?> map) throws Exception
Exception
public CreateVcoRouteEntryRequest setClientToken(String clientToken)
public String getClientToken()
public CreateVcoRouteEntryRequest setDescription(String description)
public String getDescription()
public CreateVcoRouteEntryRequest setNextHop(String nextHop)
public String getNextHop()
public CreateVcoRouteEntryRequest setOverlayMode(String overlayMode)
public String getOverlayMode()
public CreateVcoRouteEntryRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateVcoRouteEntryRequest setRegionId(String regionId)
public String getRegionId()
public CreateVcoRouteEntryRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateVcoRouteEntryRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateVcoRouteEntryRequest setRouteDest(String routeDest)
public String getRouteDest()
public CreateVcoRouteEntryRequest setVpnConnectionId(String vpnConnectionId)
public String getVpnConnectionId()
public CreateVcoRouteEntryRequest setWeight(Integer weight)
public Integer getWeight()
Copyright © 2024. All rights reserved.