public static final class CfnPrefixList.EntryProperty.Builder
extends java.lang.Object
CfnPrefixList.EntryProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPrefixList.EntryProperty |
build()
Builds the configured instance.
|
CfnPrefixList.EntryProperty.Builder |
cidr(java.lang.String cidr)
Sets the value of
CfnPrefixList.EntryProperty.getCidr() |
CfnPrefixList.EntryProperty.Builder |
description(java.lang.String description)
Sets the value of
CfnPrefixList.EntryProperty.getDescription() |
public CfnPrefixList.EntryProperty.Builder cidr(java.lang.String cidr)
CfnPrefixList.EntryProperty.getCidr()
cidr
- The CIDR block. This parameter is required.this
public CfnPrefixList.EntryProperty.Builder description(java.lang.String description)
CfnPrefixList.EntryProperty.getDescription()
description
- A description for the entry.
Constraints: Up to 255 characters in length.this
public CfnPrefixList.EntryProperty build()
CfnPrefixList.EntryProperty
java.lang.NullPointerException
- if any required attribute was not provided