Package software.constructs
Class SynthesisOptions.Builder
- java.lang.Object
-
- software.constructs.SynthesisOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SynthesisOptions>
- Enclosing interface:
- SynthesisOptions
@Stability(Stable) public static final class SynthesisOptions.Builder extends Object implements software.amazon.jsii.Builder<SynthesisOptions>
A builder forSynthesisOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SynthesisOptions
build()
Builds the configured instance.SynthesisOptions.Builder
outdir(String outdir)
Sets the value ofSynthesisOptions.getOutdir()
SynthesisOptions.Builder
sessionContext(Map<String,? extends Object> sessionContext)
Sets the value ofSynthesisOptions.getSessionContext()
SynthesisOptions.Builder
skipValidation(Boolean skipValidation)
Sets the value ofSynthesisOptions.getSkipValidation()
-
-
-
Method Detail
-
outdir
@Stability(Stable) public SynthesisOptions.Builder outdir(String outdir)
Sets the value ofSynthesisOptions.getOutdir()
- Parameters:
outdir
- The output directory into which to synthesize the cloud assembly. This parameter is required.- Returns:
this
-
sessionContext
@Stability(Stable) public SynthesisOptions.Builder sessionContext(Map<String,? extends Object> sessionContext)
Sets the value ofSynthesisOptions.getSessionContext()
- Parameters:
sessionContext
- Additional context passed into the synthesis session object when `construct.synth` is called.- Returns:
this
-
skipValidation
@Stability(Stable) public SynthesisOptions.Builder skipValidation(Boolean skipValidation)
Sets the value ofSynthesisOptions.getSkipValidation()
- Parameters:
skipValidation
- Whether synthesis should skip the validation phase.- Returns:
this
-
build
@Stability(Stable) public SynthesisOptions build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SynthesisOptions>
- Returns:
- a new instance of
SynthesisOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-
-