public static final class CreatePrefixListRequest.Entry.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
CreatePrefixListRequest.Entry |
build() |
CreatePrefixListRequest.Entry.Builder |
cidr(String cidr)
The CIDR block in entry N.
|
CreatePrefixListRequest.Entry.Builder |
description(String description)
The description in entry N.
|
public CreatePrefixListRequest.Entry.Builder cidr(String cidr)
* The total number of entries cannot 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 into 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?](~~40637~~#title-gu4-uzk-12r) section in the "Network FAQ" topic. This parameter is empty by default.
public CreatePrefixListRequest.Entry.Builder description(String description)
public CreatePrefixListRequest.Entry build()
Copyright © 2024. All rights reserved.