public static class ModifyPrefixListRequest.ModifyPrefixListRequestAddEntry
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
cidr
The CIDR block of entry N to be added to the prefix list.
|
String |
description
The description in entry N.
|
构造器和说明 |
---|
ModifyPrefixListRequestAddEntry() |
限定符和类型 | 方法和说明 |
---|---|
static ModifyPrefixListRequest.ModifyPrefixListRequestAddEntry |
build(Map<String,?> map) |
String |
getCidr() |
String |
getDescription() |
ModifyPrefixListRequest.ModifyPrefixListRequestAddEntry |
setCidr(String cidr) |
ModifyPrefixListRequest.ModifyPrefixListRequestAddEntry |
setDescription(String description) |
@NameInMap(value="Cidr") public String cidr
The CIDR block of entry N to be added to the prefix list. Valid values of N: 0 to 200.
Take note of the following items when you add the entries:
* The number of entries in the prefix list cannot be greater than the maximum number of entries allowed for the prefix list. You can call the [DescribePrefixListAttributes](~~205872~~) operation to query the maximum number of entries in a specific prefix list.
* You cannot specify duplicate CIDR blocks.
* The CIDR blocks cannot be the same as the `RemoveEntry.N.Cidr` values.
@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 ModifyPrefixListRequest.ModifyPrefixListRequestAddEntry build(Map<String,?> map) throws Exception
Exception
public ModifyPrefixListRequest.ModifyPrefixListRequestAddEntry setCidr(String cidr)
public String getCidr()
public ModifyPrefixListRequest.ModifyPrefixListRequestAddEntry setDescription(String description)
public String getDescription()
Copyright © 2023. All rights reserved.