Package software.amazon.awscdk
Class ResolveOptions.Builder
java.lang.Object
software.amazon.awscdk.ResolveOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ResolveOptions>
- Enclosing interface:
ResolveOptions
@Stability(Stable)
public static final class ResolveOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ResolveOptions>
A builder for
ResolveOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofResolveOptions.getPreparing()
removeEmpty
(Boolean removeEmpty) Sets the value ofResolveOptions.getRemoveEmpty()
resolver
(ITokenResolver resolver) Sets the value ofResolveOptions.getResolver()
scope
(software.constructs.IConstruct scope) Sets the value ofResolveOptions.getScope()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resolver
Sets the value ofResolveOptions.getResolver()
- Parameters:
resolver
- The resolver to apply to any resolvable tokens found. This parameter is required.- Returns:
this
-
scope
Sets the value ofResolveOptions.getScope()
- Parameters:
scope
- The scope from which resolution is performed. This parameter is required.- Returns:
this
-
preparing
Sets the value ofResolveOptions.getPreparing()
- Parameters:
preparing
- Whether the resolution is being executed during the prepare phase or not.- Returns:
this
-
removeEmpty
Sets the value ofResolveOptions.getRemoveEmpty()
- Parameters:
removeEmpty
- Whether to remove undefined elements from arrays and objects when resolving.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ResolveOptions>
- Returns:
- a new instance of
ResolveOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-