Package software.amazon.awscdk.core
Class SynthesisOptions.Builder
java.lang.Object
software.amazon.awscdk.core.SynthesisOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SynthesisOptions>
- Enclosing interface:
- SynthesisOptions
@Stability(Deprecated)
@Deprecated
public static final class SynthesisOptions.Builder
extends Object
implements software.amazon.jsii.Builder<SynthesisOptions>
Deprecated.
A builder for
SynthesisOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Deprecated.runtimeInfo(RuntimeInfo runtimeInfo) Deprecated.All template modifications that should result from this should have already been inserted into the template.skipValidation(Boolean skipValidation) Deprecated.validateOnSynthesis(Boolean validateOnSynthesis) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
outdir
Deprecated.Sets the value ofSynthesisOptions.getOutdir()- Parameters:
outdir- The output directory into which to synthesize the cloud assembly.- Returns:
this
-
skipValidation
@Stability(Deprecated) @Deprecated public SynthesisOptions.Builder skipValidation(Boolean skipValidation) Deprecated.Sets the value ofSynthesisOptions.getSkipValidation()- Parameters:
skipValidation- Whether synthesis should skip the validation phase.- Returns:
this
-
validateOnSynthesis
@Stability(Deprecated) @Deprecated public SynthesisOptions.Builder validateOnSynthesis(Boolean validateOnSynthesis) Deprecated.Sets the value ofSynthesisOptions.getValidateOnSynthesis()- Parameters:
validateOnSynthesis- Whether the stack should be validated after synthesis to check for error metadata.- Returns:
this
-
runtimeInfo
@Stability(Deprecated) @Deprecated public SynthesisOptions.Builder runtimeInfo(RuntimeInfo runtimeInfo) Deprecated.All template modifications that should result from this should have already been inserted into the template.Sets the value ofAssemblyBuildOptions.getRuntimeInfo()- Parameters:
runtimeInfo- Include the specified runtime information (module versions) in manifest.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SynthesisOptions>- Returns:
- a new instance of
SynthesisOptions - Throws:
NullPointerException- if any required attribute was not provided
-