public class ModifyVpnPbrRouteEntryPriorityRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Integer |
newPriority
The new priority of the policy-based route.
|
String |
nextHop
The next hop of the policy-based route.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
priority
The original priority of the policy-based route.
|
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 policy-based route.
|
String |
routeSource
The source CIDR block of the policy-based route.
|
String |
vpnGatewayId
The ID of the VPN gateway.
|
Integer |
weight
The weight of the policy-based route.
|
构造器和说明 |
---|
ModifyVpnPbrRouteEntryPriorityRequest() |
@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.
d7d24a21-f4ba-4454-9173-b3****
@NameInMap(value="NewPriority") public Integer newPriority
The new priority of the policy-based route. Valid values: 1 to 100.
A smaller value indicates a higher priority.
This parameter is required.
example:10
@NameInMap(value="NextHop") public String nextHop
The next hop of the policy-based route.
This parameter is required.
example:vco-bp15oes1py4i66rmd****
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="Priority") public Integer priority
The original priority of the policy-based route. Valid values: 1 to 100.
A smaller value indicates a higher priority.
example:5
@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-henyuan
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="RouteDest") public String routeDest
The destination CIDR block of the policy-based route.
This parameter is required.
example:10.0.0.0/24
@NameInMap(value="RouteSource") public String routeSource
The source CIDR block of the policy-based route.
This parameter is required.
example:192.168.1.0/24
@NameInMap(value="VpnGatewayId") public String vpnGatewayId
The ID of the VPN gateway.
This parameter is required.
example:vpn-bp1a3kqjiiq9legfx****
@NameInMap(value="Weight") public Integer weight
The weight of the policy-based route. Valid values:
This parameter is required.
example:100
public static ModifyVpnPbrRouteEntryPriorityRequest build(Map<String,?> map) throws Exception
Exception
public ModifyVpnPbrRouteEntryPriorityRequest setClientToken(String clientToken)
public String getClientToken()
public ModifyVpnPbrRouteEntryPriorityRequest setNewPriority(Integer newPriority)
public Integer getNewPriority()
public ModifyVpnPbrRouteEntryPriorityRequest setNextHop(String nextHop)
public String getNextHop()
public ModifyVpnPbrRouteEntryPriorityRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyVpnPbrRouteEntryPriorityRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyVpnPbrRouteEntryPriorityRequest setPriority(Integer priority)
public Integer getPriority()
public ModifyVpnPbrRouteEntryPriorityRequest setRegionId(String regionId)
public String getRegionId()
public ModifyVpnPbrRouteEntryPriorityRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyVpnPbrRouteEntryPriorityRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifyVpnPbrRouteEntryPriorityRequest setRouteDest(String routeDest)
public String getRouteDest()
public ModifyVpnPbrRouteEntryPriorityRequest setRouteSource(String routeSource)
public String getRouteSource()
public ModifyVpnPbrRouteEntryPriorityRequest setVpnGatewayId(String vpnGatewayId)
public String getVpnGatewayId()
public ModifyVpnPbrRouteEntryPriorityRequest setWeight(Integer weight)
public Integer getWeight()
Copyright © 2024. All rights reserved.