public static class CreateRouteEntriesRequest.CreateRouteEntriesRequestRouteEntries
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
description
The description of the custom route.
|
String |
dstCidrBlock
The destination CIDR block of the custom route.
|
Integer |
ipVersion
The IP version.
|
String |
name
The name of the custom route that you want to add.
|
String |
nextHop
The ID of the next hop for the custom route.
|
String |
nextHopType
The type of next hop.
|
String |
routeTableId
The ID of the route table to which you want to add custom route s.
|
构造器和说明 |
---|
CreateRouteEntriesRequestRouteEntries() |
@NameInMap(value="Description") public String description
The description of the custom route. You can specify at most 50 descriptions.
The description must be 1 to 256 characters in length and cannot start with http://
or https://
.
test
@NameInMap(value="DstCidrBlock") public String dstCidrBlock
The destination CIDR block of the custom route. IPv4 CIDR blocks, IPv6 CIDR blocks, and prefix lists are supported. You can enter up to 50 destination CIDR blocks. Make sure that the following requirements are met:
This parameter is required.
example:192.168.0.0/24
@NameInMap(value="IpVersion") public Integer ipVersion
The IP version. Valid values: You can specify at most 50 IP versions. Valid values:
IPv4
@NameInMap(value="Name") public String name
The name of the custom route that you want to add. You can specify at most 50 names.
The name must be 1 to 128 characters in length and cannot start with http://
or https://
.
test
@NameInMap(value="NextHop") public String nextHop
The ID of the next hop for the custom route. You can specify at most 50 instance IDs.
This parameter is required.
example:i-j6c2fp57q8rr4jlu****
@NameInMap(value="NextHopType") public String nextHopType
The type of next hop. You can specify at most 50 next hop types. Valid values:
This parameter is required.
example:RouterInterface
@NameInMap(value="RouteTableId") public String routeTableId
The ID of the route table to which you want to add custom route s. You can specify at most 50 route table IDs.
This parameter is required.
example:vtb-bp145q7glnuzd****
public static CreateRouteEntriesRequest.CreateRouteEntriesRequestRouteEntries build(Map<String,?> map) throws Exception
Exception
public CreateRouteEntriesRequest.CreateRouteEntriesRequestRouteEntries setDescription(String description)
public String getDescription()
public CreateRouteEntriesRequest.CreateRouteEntriesRequestRouteEntries setDstCidrBlock(String dstCidrBlock)
public String getDstCidrBlock()
public CreateRouteEntriesRequest.CreateRouteEntriesRequestRouteEntries setIpVersion(Integer ipVersion)
public Integer getIpVersion()
public CreateRouteEntriesRequest.CreateRouteEntriesRequestRouteEntries setName(String name)
public String getName()
public CreateRouteEntriesRequest.CreateRouteEntriesRequestRouteEntries setNextHop(String nextHop)
public String getNextHop()
public CreateRouteEntriesRequest.CreateRouteEntriesRequestRouteEntries setNextHopType(String nextHopType)
public String getNextHopType()
public CreateRouteEntriesRequest.CreateRouteEntriesRequestRouteEntries setRouteTableId(String routeTableId)
public String getRouteTableId()
Copyright © 2024. All rights reserved.