Package io.github.cdklabs.projen.awscdk
Class IntegrationTestAutoDiscoverOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.awscdk.IntegrationTestAutoDiscoverOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationTestAutoDiscoverOptions>
- Enclosing interface:
- IntegrationTestAutoDiscoverOptions
@Stability(Experimental) public static final class IntegrationTestAutoDiscoverOptions.Builder extends Object implements software.amazon.jsii.Builder<IntegrationTestAutoDiscoverOptions>
A builder forIntegrationTestAutoDiscoverOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationTestAutoDiscoverOptionsbuild()Builds the configured instance.IntegrationTestAutoDiscoverOptions.BuildercdkDeps(AwsCdkDeps cdkDeps)Sets the value ofAutoDiscoverCommonOptions.getCdkDeps()IntegrationTestAutoDiscoverOptions.BuilderintegrationTestOptions(IntegrationTestCommonOptions integrationTestOptions)Sets the value ofIntegrationTestAutoDiscoverOptions.getIntegrationTestOptions()IntegrationTestAutoDiscoverOptions.Buildertestdir(String testdir)Sets the value ofIntegrationTestAutoDiscoverBaseOptions.getTestdir()IntegrationTestAutoDiscoverOptions.BuildertsconfigPath(String tsconfigPath)Sets the value ofAutoDiscoverCommonOptions.getTsconfigPath()
-
-
-
Method Detail
-
integrationTestOptions
@Stability(Experimental) public IntegrationTestAutoDiscoverOptions.Builder integrationTestOptions(IntegrationTestCommonOptions integrationTestOptions)
Sets the value ofIntegrationTestAutoDiscoverOptions.getIntegrationTestOptions()- Parameters:
integrationTestOptions- Options for integration tests.- Returns:
this
-
cdkDeps
@Stability(Experimental) public IntegrationTestAutoDiscoverOptions.Builder cdkDeps(AwsCdkDeps cdkDeps)
Sets the value ofAutoDiscoverCommonOptions.getCdkDeps()- Parameters:
cdkDeps- AWS CDK dependency manager. This parameter is required.- Returns:
this
-
tsconfigPath
@Stability(Experimental) public IntegrationTestAutoDiscoverOptions.Builder tsconfigPath(String tsconfigPath)
Sets the value ofAutoDiscoverCommonOptions.getTsconfigPath()- Parameters:
tsconfigPath- Path to the tsconfig file to use for integration tests. This parameter is required.- Returns:
this
-
testdir
@Stability(Experimental) public IntegrationTestAutoDiscoverOptions.Builder testdir(String testdir)
Sets the value ofIntegrationTestAutoDiscoverBaseOptions.getTestdir()- Parameters:
testdir- Test source tree. This parameter is required.- Returns:
this
-
build
@Stability(Experimental) public IntegrationTestAutoDiscoverOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationTestAutoDiscoverOptions>- Returns:
- a new instance of
IntegrationTestAutoDiscoverOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-