public class UpdateGatewayRouteTableEntryAttributeRequest
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 gateway route table.
|
String |
destinationCidrBlock
The destination CIDR block of the route entry in the gateway route table.
|
Boolean |
dryRun
Specifies whether to precheck only this request.
|
String |
gatewayRouteTableId
The ID of the gateway route table that you want to modify.
|
String |
IPv4GatewayRouteTableId
The ID of the gateway route table that you want to modify.
|
String |
name
The name of the gateway route table.
|
String |
nextHopId
The new next hop ID of the route entry.
|
String |
nextHopType
The new next hop type of the route.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region to which the gateway route table that you want to modify belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
UpdateGatewayRouteTableEntryAttributeRequest() |
@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-426655440000
@NameInMap(value="Description") public String description
The description of the gateway route table.
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http://
or https://
.
new
@NameInMap(value="DestinationCidrBlock") public String destinationCidrBlock
The destination CIDR block of the route entry in the gateway route table.
This parameter is required.
example:47.100.XX.XX/16
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to precheck only this request. Valid values:
DryRunOperation
error code is returned.false
@NameInMap(value="GatewayRouteTableId") public String gatewayRouteTableId
The ID of the gateway route table that you want to modify.
example:vtb-5ts0ohchwkp3dydt2****
@NameInMap(value="IPv4GatewayRouteTableId") public String IPv4GatewayRouteTableId
The ID of the gateway route table that you want to modify.
example:vtb-5ts0ohchwkp3dydt2****
@NameInMap(value="Name") public String name
The name of the gateway route table.
The name must be 2 to 128 characters in length and can contain letter, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
example:test
@NameInMap(value="NextHopId") public String nextHopId
The new next hop ID of the route entry.
example:If the value of NextHopType is Instance or NetworkInterface, and you want to modify the next hop, you must set NextHopType to Local first. Then, set NextHopType to Instance or NetworkInterface and specify NextHopId based on your requirements. If the next hop type of a route entry is Instance or NetworkInterface, you cannot directly specify a different ENI ID or ECS instance ID for the NextHopId parameter.
i-bp18xq9yguxoxe7m****
@NameInMap(value="NextHopType") public String nextHopType
The new next hop type of the route. Valid values:
This parameter is required.
example:EcsInstance
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region to which the gateway route table that you want to modify belongs.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:ap-southeast-6
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public UpdateGatewayRouteTableEntryAttributeRequest()
public static UpdateGatewayRouteTableEntryAttributeRequest build(Map<String,?> map) throws Exception
Exception
public UpdateGatewayRouteTableEntryAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateGatewayRouteTableEntryAttributeRequest setDescription(String description)
public String getDescription()
public UpdateGatewayRouteTableEntryAttributeRequest setDestinationCidrBlock(String destinationCidrBlock)
public String getDestinationCidrBlock()
public UpdateGatewayRouteTableEntryAttributeRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public UpdateGatewayRouteTableEntryAttributeRequest setGatewayRouteTableId(String gatewayRouteTableId)
public String getGatewayRouteTableId()
public UpdateGatewayRouteTableEntryAttributeRequest setIPv4GatewayRouteTableId(String IPv4GatewayRouteTableId)
public String getIPv4GatewayRouteTableId()
public UpdateGatewayRouteTableEntryAttributeRequest setName(String name)
public String getName()
public UpdateGatewayRouteTableEntryAttributeRequest setNextHopId(String nextHopId)
public String getNextHopId()
public UpdateGatewayRouteTableEntryAttributeRequest setNextHopType(String nextHopType)
public String getNextHopType()
public UpdateGatewayRouteTableEntryAttributeRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public UpdateGatewayRouteTableEntryAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public UpdateGatewayRouteTableEntryAttributeRequest setRegionId(String regionId)
public String getRegionId()
public UpdateGatewayRouteTableEntryAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public UpdateGatewayRouteTableEntryAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.