Package io.github.cdklabs.projen.cdk8s
Class IntegrationTestOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.cdk8s.IntegrationTestOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationTestOptions>
- Enclosing interface:
- IntegrationTestOptions
@Stability(Experimental) public static final class IntegrationTestOptions.Builder extends Object implements software.amazon.jsii.Builder<IntegrationTestOptions>
A builder forIntegrationTestOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationTestOptionsbuild()Builds the configured instance.IntegrationTestOptions.Builderentrypoint(String entrypoint)Sets the value ofIntegrationTestBaseOptions.getEntrypoint()IntegrationTestOptions.Buildername(String name)Sets the value ofIntegrationTestBaseOptions.getName()IntegrationTestOptions.BuildertsconfigPath(String tsconfigPath)Sets the value ofIntegrationTestBaseOptions.getTsconfigPath()
-
-
-
Method Detail
-
entrypoint
@Stability(Experimental) public IntegrationTestOptions.Builder entrypoint(String entrypoint)
Sets the value ofIntegrationTestBaseOptions.getEntrypoint()- Parameters:
entrypoint- A path from the project root directory to a TypeScript file which contains the integration test app. This parameter is required. This is relative to the root directory of the project.- Returns:
this
-
tsconfigPath
@Stability(Experimental) public IntegrationTestOptions.Builder tsconfigPath(String tsconfigPath)
Sets the value ofIntegrationTestBaseOptions.getTsconfigPath()- Parameters:
tsconfigPath- The path of the tsconfig.json file to use when running integration test cdk apps. This parameter is required.- Returns:
this
-
name
@Stability(Experimental) public IntegrationTestOptions.Builder name(String name)
Sets the value ofIntegrationTestBaseOptions.getName()- Parameters:
name- Name of the integration test.- Returns:
this
-
build
@Stability(Experimental) public IntegrationTestOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationTestOptions>- Returns:
- a new instance of
IntegrationTestOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-