Class CfnIPAMPrefixListResolverTargetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnIPAMPrefixListResolverTargetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMPrefixListResolverTargetMixinProps>
- Enclosing interface:
CfnIPAMPrefixListResolverTargetMixinProps
@Stability(Stable)
public static final class CfnIPAMPrefixListResolverTargetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMPrefixListResolverTargetMixinProps>
A builder for
CfnIPAMPrefixListResolverTargetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.desiredVersion(Number desiredVersion) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getDesiredVersion()ipamPrefixListResolverId(String ipamPrefixListResolverId) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getIpamPrefixListResolverId()prefixListId(String prefixListId) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getPrefixListId()prefixListRegion(String prefixListRegion) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getPrefixListRegion()Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getTags()trackLatestVersion(Boolean trackLatestVersion) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getTrackLatestVersion()trackLatestVersion(IResolvable trackLatestVersion) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getTrackLatestVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
desiredVersion
@Stability(Stable) public CfnIPAMPrefixListResolverTargetMixinProps.Builder desiredVersion(Number desiredVersion) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getDesiredVersion()- Parameters:
desiredVersion- The desired version of the Prefix List Resolver that this Target should synchronize with.- Returns:
this
-
ipamPrefixListResolverId
@Stability(Stable) public CfnIPAMPrefixListResolverTargetMixinProps.Builder ipamPrefixListResolverId(String ipamPrefixListResolverId) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getIpamPrefixListResolverId()- Parameters:
ipamPrefixListResolverId- The Id of the IPAM Prefix List Resolver associated with this Target.- Returns:
this
-
prefixListId
@Stability(Stable) public CfnIPAMPrefixListResolverTargetMixinProps.Builder prefixListId(String prefixListId) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getPrefixListId()- Parameters:
prefixListId- The Id of the Managed Prefix List.- Returns:
this
-
prefixListRegion
@Stability(Stable) public CfnIPAMPrefixListResolverTargetMixinProps.Builder prefixListRegion(String prefixListRegion) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getPrefixListRegion()- Parameters:
prefixListRegion- The region that the Managed Prefix List is located in.- Returns:
this
-
tags
@Stability(Stable) public CfnIPAMPrefixListResolverTargetMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
trackLatestVersion
@Stability(Stable) public CfnIPAMPrefixListResolverTargetMixinProps.Builder trackLatestVersion(Boolean trackLatestVersion) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getTrackLatestVersion()- Parameters:
trackLatestVersion- Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver.- Returns:
this
-
trackLatestVersion
@Stability(Stable) public CfnIPAMPrefixListResolverTargetMixinProps.Builder trackLatestVersion(IResolvable trackLatestVersion) Sets the value ofCfnIPAMPrefixListResolverTargetMixinProps.getTrackLatestVersion()- Parameters:
trackLatestVersion- Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIPAMPrefixListResolverTargetMixinProps>- Returns:
- a new instance of
CfnIPAMPrefixListResolverTargetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-