Class CfnIPAMPrefixListResolverMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnIPAMPrefixListResolverMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMPrefixListResolverMixinProps>
- Enclosing interface:
CfnIPAMPrefixListResolverMixinProps
@Stability(Stable)
public static final class CfnIPAMPrefixListResolverMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMPrefixListResolverMixinProps>
A builder for
CfnIPAMPrefixListResolverMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddressFamily(String addressFamily) Sets the value ofCfnIPAMPrefixListResolverMixinProps.getAddressFamily()build()Builds the configured instance.description(String description) Sets the value ofCfnIPAMPrefixListResolverMixinProps.getDescription()Sets the value ofCfnIPAMPrefixListResolverMixinProps.getIpamId()Sets the value ofCfnIPAMPrefixListResolverMixinProps.getRules()rules(IResolvable rules) Sets the value ofCfnIPAMPrefixListResolverMixinProps.getRules()Sets the value ofCfnIPAMPrefixListResolverMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addressFamily
@Stability(Stable) public CfnIPAMPrefixListResolverMixinProps.Builder addressFamily(String addressFamily) Sets the value ofCfnIPAMPrefixListResolverMixinProps.getAddressFamily()- Parameters:
addressFamily- The address family of the address space in this Prefix List Resolver. Either IPv4 or IPv6.- Returns:
this
-
description
@Stability(Stable) public CfnIPAMPrefixListResolverMixinProps.Builder description(String description) Sets the value ofCfnIPAMPrefixListResolverMixinProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
ipamId
Sets the value ofCfnIPAMPrefixListResolverMixinProps.getIpamId()- Parameters:
ipamId- The Id of the IPAM this Prefix List Resolver is a part of.- Returns:
this
-
rules
Sets the value ofCfnIPAMPrefixListResolverMixinProps.getRules()- Parameters:
rules- Rules define the business logic for selecting CIDRs from IPAM.- Returns:
this
-
rules
@Stability(Stable) public CfnIPAMPrefixListResolverMixinProps.Builder rules(List<? extends Object> rules) Sets the value ofCfnIPAMPrefixListResolverMixinProps.getRules()- Parameters:
rules- Rules define the business logic for selecting CIDRs from IPAM.- Returns:
this
-
tags
@Stability(Stable) public CfnIPAMPrefixListResolverMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnIPAMPrefixListResolverMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIPAMPrefixListResolverMixinProps>- Returns:
- a new instance of
CfnIPAMPrefixListResolverMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-