Class ProjenrcTsOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.typescript.ProjenrcTsOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjenrcTsOptions>
- Enclosing interface:
- ProjenrcTsOptions
@Stability(Experimental) public static final class ProjenrcTsOptions.Builder extends Object implements software.amazon.jsii.Builder<ProjenrcTsOptions>
A builder forProjenrcTsOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjenrcTsOptionsbuild()Builds the configured instance.ProjenrcTsOptions.Builderfilename(String filename)Sets the value ofProjenrcTsOptions.getFilename()ProjenrcTsOptions.BuilderprojenCodeDir(String projenCodeDir)Sets the value ofProjenrcTsOptions.getProjenCodeDir()ProjenrcTsOptions.BuildertsconfigFileName(String tsconfigFileName)Sets the value ofProjenrcTsOptions.getTsconfigFileName()
-
-
-
Method Detail
-
filename
@Stability(Experimental) public ProjenrcTsOptions.Builder filename(String filename)
Sets the value ofProjenrcTsOptions.getFilename()- Parameters:
filename- The name of the projenrc file.- Returns:
this
-
projenCodeDir
@Stability(Experimental) public ProjenrcTsOptions.Builder projenCodeDir(String projenCodeDir)
Sets the value ofProjenrcTsOptions.getProjenCodeDir()- Parameters:
projenCodeDir- A directory tree that may contain *.ts files that can be referenced from your projenrc typescript file.- Returns:
this
-
tsconfigFileName
@Stability(Experimental) public ProjenrcTsOptions.Builder tsconfigFileName(String tsconfigFileName)
Sets the value ofProjenrcTsOptions.getTsconfigFileName()- Parameters:
tsconfigFileName- The name of the tsconfig file that will be used by ts-node when compiling projen source files.- Returns:
this
-
build
@Stability(Experimental) public ProjenrcTsOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProjenrcTsOptions>- Returns:
- a new instance of
ProjenrcTsOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-