@Stability(value=Experimental) public static final class ProjectOptions.Builder extends Object implements software.amazon.jsii.Builder<ProjectOptions>
ProjectOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ProjectOptions |
build()
Builds the configured instance.
|
ProjectOptions.Builder |
logging(LoggerOptions logging)
Sets the value of
ProjectOptions.getLogging() |
ProjectOptions.Builder |
name(String name)
Sets the value of
ProjectOptions.getName() |
ProjectOptions.Builder |
outdir(String outdir)
Sets the value of
ProjectOptions.getOutdir() |
ProjectOptions.Builder |
parent(Project parent)
Sets the value of
ProjectOptions.getParent() |
ProjectOptions.Builder |
projenCommand(String projenCommand)
Sets the value of
ProjectOptions.getProjenCommand() |
ProjectOptions.Builder |
projenrcJson(Boolean projenrcJson)
Sets the value of
ProjectOptions.getProjenrcJson() |
ProjectOptions.Builder |
projenrcJsonOptions(ProjenrcOptions projenrcJsonOptions)
Sets the value of
ProjectOptions.getProjenrcJsonOptions() |
@Stability(value=Experimental) public ProjectOptions.Builder name(String name)
ProjectOptions.getName()name - This is the name of your project. This parameter is required.this@Stability(value=Experimental) public ProjectOptions.Builder logging(LoggerOptions logging)
ProjectOptions.getLogging()logging - Configure logging options such as verbosity.this@Stability(value=Experimental) public ProjectOptions.Builder outdir(String outdir)
ProjectOptions.getOutdir()outdir - The root directory of the project.
Relative to this directory, all files are synthesized.
If this project has a parent, this directory is relative to the parent directory and it cannot be the same as the parent or any of it's other sub-projects.
this@Stability(value=Experimental) public ProjectOptions.Builder parent(Project parent)
ProjectOptions.getParent()parent - The parent project, if this project is part of a bigger project.this@Stability(value=Experimental) public ProjectOptions.Builder projenCommand(String projenCommand)
ProjectOptions.getProjenCommand()projenCommand - The shell command to use in order to run the projen CLI.
Can be used to customize in special environments.this@Stability(value=Experimental) public ProjectOptions.Builder projenrcJson(Boolean projenrcJson)
ProjectOptions.getProjenrcJson()projenrcJson - Generate (once) .projenrc.json (in JSON). Set to `false` in order to disable .projenrc.json generation.this@Stability(value=Experimental) public ProjectOptions.Builder projenrcJsonOptions(ProjenrcOptions projenrcJsonOptions)
ProjectOptions.getProjenrcJsonOptions()projenrcJsonOptions - Options for .projenrc.json.this@Stability(value=Experimental) public ProjectOptions build()
build in interface software.amazon.jsii.Builder<ProjectOptions>ProjectOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.