Class CfnIPAMPrefixListResolverTarget.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnIPAMPrefixListResolverTarget.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMPrefixListResolverTarget>
- Enclosing class:
CfnIPAMPrefixListResolverTarget
@Stability(Stable)
public static final class CfnIPAMPrefixListResolverTarget.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMPrefixListResolverTarget>
A fluent builder for
CfnIPAMPrefixListResolverTarget.-
Method Summary
Modifier and TypeMethodDescriptionbuild()desiredVersion(Number desiredVersion) The desired version of the Prefix List Resolver that this Target should synchronize with.ipamPrefixListResolverId(String ipamPrefixListResolverId) The Id of the IPAM Prefix List Resolver associated with this Target.prefixListId(String prefixListId) The Id of the Managed Prefix List.prefixListRegion(String prefixListRegion) The region that the Managed Prefix List is located in.An array of key-value pairs to apply to this resource.trackLatestVersion(Boolean trackLatestVersion) Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver.trackLatestVersion(IResolvable trackLatestVersion) Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver.
-
Method Details
-
create
@Stability(Stable) public static CfnIPAMPrefixListResolverTarget.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnIPAMPrefixListResolverTarget.Builder.
-
ipamPrefixListResolverId
@Stability(Stable) public CfnIPAMPrefixListResolverTarget.Builder ipamPrefixListResolverId(String ipamPrefixListResolverId) The Id of the IPAM Prefix List Resolver associated with this Target.- Parameters:
ipamPrefixListResolverId- The Id of the IPAM Prefix List Resolver associated with this Target. This parameter is required.- Returns:
this- See Also:
-
prefixListId
The Id of the Managed Prefix List.- Parameters:
prefixListId- The Id of the Managed Prefix List. This parameter is required.- Returns:
this- See Also:
-
prefixListRegion
@Stability(Stable) public CfnIPAMPrefixListResolverTarget.Builder prefixListRegion(String prefixListRegion) The region that the Managed Prefix List is located in.- Parameters:
prefixListRegion- The region that the Managed Prefix List is located in. This parameter is required.- Returns:
this- See Also:
-
trackLatestVersion
@Stability(Stable) public CfnIPAMPrefixListResolverTarget.Builder trackLatestVersion(Boolean trackLatestVersion) Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver.- Parameters:
trackLatestVersion- Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver. This parameter is required.- Returns:
this- See Also:
-
trackLatestVersion
@Stability(Stable) public CfnIPAMPrefixListResolverTarget.Builder trackLatestVersion(IResolvable trackLatestVersion) Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver.- Parameters:
trackLatestVersion- Indicates whether this Target automatically tracks the latest version of the Prefix List Resolver. This parameter is required.- Returns:
this- See Also:
-
desiredVersion
@Stability(Stable) public CfnIPAMPrefixListResolverTarget.Builder desiredVersion(Number desiredVersion) The desired version of the Prefix List Resolver that this Target should synchronize with.- Parameters:
desiredVersion- The desired version of the Prefix List Resolver that this Target should synchronize with. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIPAMPrefixListResolverTarget>- Returns:
- a newly built instance of
CfnIPAMPrefixListResolverTarget.
-