public class CreateRouteTableRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateRouteTableRequest.CreateRouteTableRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
associateType
The type of the route table.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The description of the route table.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the virtual private cloud (VPC) to which the custom route table belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
routeTableName
The name of the route table.
|
List<CreateRouteTableRequest.CreateRouteTableRequestTag> |
tag
The tags of the resource.
|
String |
vpcId
The ID of the VPC to which the custom route table belongs.
|
构造器和说明 |
---|
CreateRouteTableRequest() |
@NameInMap(value="AssociateType") public String associateType
The type of the route table. Valid values:
VSwitch
@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 value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters.
example:If you do not specify this parameter, ClientToken is set to the value of RequestId. The value of RequestId in each API request may be different.
02fb3da4-130e-11e9-8e44-0016e04
@NameInMap(value="Description") public String description
The description of the route table.
The description must be 1 to 256 characters in length, and cannot start with http://
or https://
.
abc
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the virtual private cloud (VPC) to which the custom route table belongs.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-zhangjiakou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="RouteTableName") public String routeTableName
The name of the route table.
The name must be 1 to 128 characters in length, and cannot start with http://
or https://
.
myRouteTable
@NameInMap(value="Tag") public List<CreateRouteTableRequest.CreateRouteTableRequestTag> tag
The tags of the resource.
@NameInMap(value="VpcId") public String vpcId
The ID of the VPC to which the custom route table belongs.
If a VPC contains an Elastic Compute Service (ECS) instance that belongs to one of the following instance families, you cannot create a custom route table for the VPC:
ecs.c1, ecs.c2, ecs.c4, ecs.ce4, ecs.cm4, ecs.d1, ecs.e3, ecs.e4, ecs.ga1, ecs.gn4, ecs.gn5, ecs.i1, ecs.m1, ecs.m2, ecs.mn4, ecs.n1, ecs.n2, ecs.n4, ecs.s1, ecs.s2, ecs.s3, ecs.se1, ecs.sn1, ecs.sn2, ecs.t1, and ecs.xn4
You must upgrade or release the ECS instance before you can create a custom route table for the VPC.
If a custom route table is created for a VPC that contains an ECS instance from one of the preceding instance families, you must upgrade or release the ECS instance. Otherwise, the custom route table cannot work as expected.
This parameter is required.
example:vpc-bp1qpo0kug3a20qqe****
public static CreateRouteTableRequest build(Map<String,?> map) throws Exception
Exception
public CreateRouteTableRequest setAssociateType(String associateType)
public String getAssociateType()
public CreateRouteTableRequest setClientToken(String clientToken)
public String getClientToken()
public CreateRouteTableRequest setDescription(String description)
public String getDescription()
public CreateRouteTableRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateRouteTableRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateRouteTableRequest setRegionId(String regionId)
public String getRegionId()
public CreateRouteTableRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateRouteTableRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateRouteTableRequest setRouteTableName(String routeTableName)
public String getRouteTableName()
public CreateRouteTableRequest setTag(List<CreateRouteTableRequest.CreateRouteTableRequestTag> tag)
public List<CreateRouteTableRequest.CreateRouteTableRequestTag> getTag()
public CreateRouteTableRequest setVpcId(String vpcId)
public String getVpcId()
Copyright © 2024. All rights reserved.