Class CfnPrefixListPropsMixin.EntryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnPrefixListPropsMixin.EntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrefixListPropsMixin.EntryProperty>
- Enclosing interface:
CfnPrefixListPropsMixin.EntryProperty
@Stability(Stable)
public static final class CfnPrefixListPropsMixin.EntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrefixListPropsMixin.EntryProperty>
A builder for
CfnPrefixListPropsMixin.EntryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPrefixListPropsMixin.EntryProperty.getCidr()description(String description) Sets the value ofCfnPrefixListPropsMixin.EntryProperty.getDescription()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidr
Sets the value ofCfnPrefixListPropsMixin.EntryProperty.getCidr()- Parameters:
cidr- The CIDR block.- Returns:
this
-
description
@Stability(Stable) public CfnPrefixListPropsMixin.EntryProperty.Builder description(String description) Sets the value ofCfnPrefixListPropsMixin.EntryProperty.getDescription()- Parameters:
description- A description for the entry. Constraints: Up to 255 characters in length.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrefixListPropsMixin.EntryProperty>- Returns:
- a new instance of
CfnPrefixListPropsMixin.EntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-