public class ModifyVcoRouteEntryWeightRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Integer |
newWeight
The new weight of the destination-based route that you want to modify.
|
String |
nextHop
The next hop of the destination-based route that you want to modify.
|
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 that you want to modify.
|
String |
vpnConnectionId
The ID of the IPsec-VPN connection.
|
Integer |
weight
The current weight of the destination-based route that you want to modify.
|
构造器和说明 |
---|
ModifyVcoRouteEntryWeightRequest() |
@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="NewWeight") public Integer newWeight
The new weight of the destination-based route that you want to modify. Valid values:
This parameter is required.
example:0
@NameInMap(value="NextHop") public String nextHop
The next hop of the destination-based route that you want to modify.
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 that you want to modify.
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 current weight of the destination-based route that you want to modify. Valid values:
This parameter is required.
example:100
public static ModifyVcoRouteEntryWeightRequest build(Map<String,?> map) throws Exception
Exception
public ModifyVcoRouteEntryWeightRequest setClientToken(String clientToken)
public String getClientToken()
public ModifyVcoRouteEntryWeightRequest setNewWeight(Integer newWeight)
public Integer getNewWeight()
public ModifyVcoRouteEntryWeightRequest setNextHop(String nextHop)
public String getNextHop()
public ModifyVcoRouteEntryWeightRequest setOverlayMode(String overlayMode)
public String getOverlayMode()
public ModifyVcoRouteEntryWeightRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyVcoRouteEntryWeightRequest setRegionId(String regionId)
public String getRegionId()
public ModifyVcoRouteEntryWeightRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyVcoRouteEntryWeightRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifyVcoRouteEntryWeightRequest setRouteDest(String routeDest)
public String getRouteDest()
public ModifyVcoRouteEntryWeightRequest setVpnConnectionId(String vpnConnectionId)
public String getVpnConnectionId()
public ModifyVcoRouteEntryWeightRequest setWeight(Integer weight)
public Integer getWeight()
Copyright © 2024. All rights reserved.