Package io.github.cdklabs.projen.awscdk
Class IntegrationTestCommonOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.awscdk.IntegrationTestCommonOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationTestCommonOptions>
- Enclosing interface:
- IntegrationTestCommonOptions
@Stability(Experimental) public static final class IntegrationTestCommonOptions.Builder extends Object implements software.amazon.jsii.Builder<IntegrationTestCommonOptions>
A builder forIntegrationTestCommonOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationTestCommonOptionsbuild()Builds the configured instance.IntegrationTestCommonOptions.BuilderdestroyAfterDeploy(Boolean destroyAfterDeploy)Sets the value ofIntegrationTestCommonOptions.getDestroyAfterDeploy()IntegrationTestCommonOptions.BuilderpathMetadata(Boolean pathMetadata)Sets the value ofIntegrationTestCommonOptions.getPathMetadata()
-
-
-
Method Detail
-
destroyAfterDeploy
@Stability(Experimental) public IntegrationTestCommonOptions.Builder destroyAfterDeploy(Boolean destroyAfterDeploy)
Sets the value ofIntegrationTestCommonOptions.getDestroyAfterDeploy()- Parameters:
destroyAfterDeploy- Destroy the test app after a successful deployment. If disabled, leaves the app deployed in the dev account.- Returns:
this
-
pathMetadata
@Stability(Experimental) public IntegrationTestCommonOptions.Builder pathMetadata(Boolean pathMetadata)
Sets the value ofIntegrationTestCommonOptions.getPathMetadata()- Parameters:
pathMetadata- Enables path metadata, addingaws:cdk:path, with the defining construct's path, to the CloudFormation metadata for each synthesized resource.- Returns:
this
-
build
@Stability(Experimental) public IntegrationTestCommonOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationTestCommonOptions>- Returns:
- a new instance of
IntegrationTestCommonOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-