Class IntegManifest.Builder
- java.lang.Object
-
- software.amazon.awscdk.cloudassembly.schema.IntegManifest.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegManifest>
- Enclosing interface:
- IntegManifest
@Stability(Stable) public static final class IntegManifest.Builder extends Object implements software.amazon.jsii.Builder<IntegManifest>
A builder forIntegManifest
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegManifestbuild()Builds the configured instance.IntegManifest.BuilderenableLookups(Boolean enableLookups)Sets the value ofIntegManifest.getEnableLookups()IntegManifest.BuildersynthContext(Map<String,String> synthContext)Sets the value ofIntegManifest.getSynthContext()IntegManifest.BuildertestCases(Map<String,? extends TestCase> testCases)Sets the value ofIntegManifest.getTestCases()IntegManifest.Builderversion(String version)Sets the value ofIntegManifest.getVersion()
-
-
-
Method Detail
-
testCases
@Stability(Stable) public IntegManifest.Builder testCases(Map<String,? extends TestCase> testCases)
Sets the value ofIntegManifest.getTestCases()- Parameters:
testCases- test cases. This parameter is required.- Returns:
this
-
version
@Stability(Stable) public IntegManifest.Builder version(String version)
Sets the value ofIntegManifest.getVersion()- Parameters:
version- Version of the manifest. This parameter is required.- Returns:
this
-
enableLookups
@Stability(Stable) public IntegManifest.Builder enableLookups(Boolean enableLookups)
Sets the value ofIntegManifest.getEnableLookups()- Parameters:
enableLookups- Enable lookups for this test. If lookups are enabled thenstackUpdateWorkflowmust be set to false. Lookups should only be enabled when you are explicitly testing lookups.- Returns:
this
-
synthContext
@Stability(Stable) public IntegManifest.Builder synthContext(Map<String,String> synthContext)
Sets the value ofIntegManifest.getSynthContext()- Parameters:
synthContext- Additional context to use when performing a synth. Any context provided here will override any default context- Returns:
this
-
build
@Stability(Stable) public IntegManifest build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegManifest>- Returns:
- a new instance of
IntegManifest - Throws:
NullPointerException- if any required attribute was not provided
-
-