public static class CreatePrefixListRequest.CreatePrefixListRequestEntry
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
cidr
The CIDR block in entry N.
|
String |
description
The description in entry N.
|
构造器和说明 |
---|
CreatePrefixListRequestEntry() |
限定符和类型 | 方法和说明 |
---|---|
static CreatePrefixListRequest.CreatePrefixListRequestEntry |
build(Map<String,?> map) |
String |
getCidr() |
String |
getDescription() |
CreatePrefixListRequest.CreatePrefixListRequestEntry |
setCidr(String cidr) |
CreatePrefixListRequest.CreatePrefixListRequestEntry |
setDescription(String description) |
@NameInMap(value="Cidr") public String cidr
The CIDR block in entry N. Valid values of N: 0 to 200. Take note of the following items:
* The total number of entries must not exceed the `MaxEntries` value.
* CIDR block types are determined by the IP address family. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
* CIDR blocks must be unique across all entries in a prefix list. For example, you cannot specify 192.168.1.0/24 twice in the entries of the prefix list.
* IP addresses are supported. The system converts IP addresses into CIDR blocks. For example, if you specify 192.168.1.100, the system converts it into the 192.168.1.100/32 CIDR block.
* If an IPv6 CIDR block is used, the system converts it to the zero compression format and changes uppercase letters into lowercase ones. For example, if you specify 2001:0DB8:0000:0000:0000:0000:0000:0000/32, the system converts it into 2001:db8::/32.
For more information about CIDR blocks, see the "What is CIDR block?" section of the [Network FAQ](https://www.alibabacloud.com/help/doc-detail/40637.htm#title-gu4-uzk-12r) topic.
This parameter is empty by default.
@NameInMap(value="Description") public String description
The description in entry N. The description must be 2 to 32 characters in length and cannot start with `http://` or `https://`. Valid values of N: 0 to 200.
public static CreatePrefixListRequest.CreatePrefixListRequestEntry build(Map<String,?> map) throws Exception
Exception
public CreatePrefixListRequest.CreatePrefixListRequestEntry setCidr(String cidr)
public String getCidr()
public CreatePrefixListRequest.CreatePrefixListRequestEntry setDescription(String description)
public String getDescription()
Copyright © 2023. All rights reserved.