Package com.hashicorp.cdktf
Class TestingAppConfig.Builder
java.lang.Object
com.hashicorp.cdktf.TestingAppConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TestingAppConfig>
- Enclosing interface:
TestingAppConfig
@Stability(Experimental)
public static final class TestingAppConfig.Builder
extends Object
implements software.amazon.jsii.Builder<TestingAppConfig>
A builder for
TestingAppConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofTestingAppConfig.getContext()
enableFutureFlags
(Boolean enableFutureFlags) Sets the value ofTestingAppConfig.getEnableFutureFlags()
fakeCdktfJsonPath
(Boolean fakeCdktfJsonPath) Sets the value ofTestingAppConfig.getFakeCdktfJsonPath()
Sets the value ofTestingAppConfig.getOutdir()
stackTraces
(Boolean stackTraces) Sets the value ofTestingAppConfig.getStackTraces()
stubVersion
(Boolean stubVersion) Sets the value ofTestingAppConfig.getStubVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
context
@Stability(Experimental) public TestingAppConfig.Builder context(Map<String, ? extends Object> context) Sets the value ofTestingAppConfig.getContext()
- Parameters:
context
- the value to be set.- Returns:
this
-
enableFutureFlags
@Stability(Experimental) public TestingAppConfig.Builder enableFutureFlags(Boolean enableFutureFlags) Sets the value ofTestingAppConfig.getEnableFutureFlags()
- Parameters:
enableFutureFlags
- the value to be set.- Returns:
this
-
fakeCdktfJsonPath
@Stability(Experimental) public TestingAppConfig.Builder fakeCdktfJsonPath(Boolean fakeCdktfJsonPath) Sets the value ofTestingAppConfig.getFakeCdktfJsonPath()
- Parameters:
fakeCdktfJsonPath
- the value to be set.- Returns:
this
-
outdir
Sets the value ofTestingAppConfig.getOutdir()
- Parameters:
outdir
- the value to be set.- Returns:
this
-
stackTraces
Sets the value ofTestingAppConfig.getStackTraces()
- Parameters:
stackTraces
- the value to be set.- Returns:
this
-
stubVersion
Sets the value ofTestingAppConfig.getStubVersion()
- Parameters:
stubVersion
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<TestingAppConfig>
- Returns:
- a new instance of
TestingAppConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-