@Stability(value=Experimental) public static final class CreateProjectOptions.Builder extends Object implements software.amazon.jsii.Builder<CreateProjectOptions>
CreateProjectOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CreateProjectOptions |
build()
Builds the configured instance.
|
CreateProjectOptions.Builder |
dir(String dir)
Sets the value of
CreateProjectOptions.getDir() |
CreateProjectOptions.Builder |
optionHints(InitProjectOptionHints optionHints)
Sets the value of
CreateProjectOptions.getOptionHints() |
CreateProjectOptions.Builder |
post(Boolean post)
Sets the value of
CreateProjectOptions.getPost() |
CreateProjectOptions.Builder |
projectFqn(String projectFqn)
Sets the value of
CreateProjectOptions.getProjectFqn() |
CreateProjectOptions.Builder |
projectOptions(Map<String,? extends Object> projectOptions)
Sets the value of
CreateProjectOptions.getProjectOptions() |
CreateProjectOptions.Builder |
synth(Boolean synth)
Sets the value of
CreateProjectOptions.getSynth() |
@Stability(value=Experimental) public CreateProjectOptions.Builder dir(String dir)
CreateProjectOptions.getDir()dir - Directory that the project will be generated in. This parameter is required.this@Stability(value=Experimental) public CreateProjectOptions.Builder projectFqn(String projectFqn)
CreateProjectOptions.getProjectFqn()projectFqn - Fully-qualified name of the project type (usually formatted as `module.ProjectType`). This parameter is required.this@Stability(value=Experimental) public CreateProjectOptions.Builder projectOptions(Map<String,? extends Object> projectOptions)
CreateProjectOptions.getProjectOptions()projectOptions - Project options. This parameter is required.
Only JSON-like values can be passed in (strings,
booleans, numbers, enums, arrays, and objects that are not
derived from classes).
Consult the API reference of the project type you are generating for information about what fields and types are available.
this@Stability(value=Experimental) public CreateProjectOptions.Builder optionHints(InitProjectOptionHints optionHints)
CreateProjectOptions.getOptionHints()optionHints - Should we render commented-out default options in the projenrc file?.
Does not apply to projenrc.json files.this@Stability(value=Experimental) public CreateProjectOptions.Builder post(Boolean post)
CreateProjectOptions.getPost()post - Should we execute post synthesis hooks?.
(usually package manager install).this@Stability(value=Experimental) public CreateProjectOptions.Builder synth(Boolean synth)
CreateProjectOptions.getSynth()synth - Should we call `project.synth()` or instantiate the project (could still have side-effects) and render the .projenrc file.this@Stability(value=Experimental) public CreateProjectOptions build()
build in interface software.amazon.jsii.Builder<CreateProjectOptions>CreateProjectOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.