Package com.hashicorp.cdktf
Class ResolveOptions.Builder
java.lang.Object
com.hashicorp.cdktf.ResolveOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ResolveOptions>
- Enclosing interface:
ResolveOptions
@Stability(Experimental)
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()
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
-
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
-