Package io.github.cdklabs.projen
Class SnapshotOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.SnapshotOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SnapshotOptions>
- Enclosing interface:
- SnapshotOptions
@Stability(Experimental) public static final class SnapshotOptions.Builder extends Object implements software.amazon.jsii.Builder<SnapshotOptions>
A builder forSnapshotOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotOptionsbuild()Builds the configured instance.SnapshotOptions.BuilderparseJson(Boolean parseJson)Sets the value ofSnapshotOptions.getParseJson()
-
-
-
Method Detail
-
parseJson
@Stability(Experimental) public SnapshotOptions.Builder parseJson(Boolean parseJson)
Sets the value ofSnapshotOptions.getParseJson()- Parameters:
parseJson- Parse .json files as a JS object for improved inspection. This will fail if the contents are invalid JSON.- Returns:
this
-
build
@Stability(Experimental) public SnapshotOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SnapshotOptions>- Returns:
- a new instance of
SnapshotOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-