Class ProjenrcTs.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<ProjenrcTs>
    Enclosing class:
    ProjenrcTs

    @Stability(Experimental)
    public static final class ProjenrcTs.Builder
    extends Object
    implements software.amazon.jsii.Builder<ProjenrcTs>
    (experimental) A fluent builder for ProjenrcTs.
    • Method Detail

      • filename

        @Stability(Experimental)
        public ProjenrcTs.Builder filename​(String filename)
        (experimental) The name of the projenrc file.

        Default: ".projenrc.ts"

        Parameters:
        filename - The name of the projenrc file. This parameter is required.
        Returns:
        this
      • projenCodeDir

        @Stability(Experimental)
        public ProjenrcTs.Builder projenCodeDir​(String projenCodeDir)
        (experimental) A directory tree that may contain *.ts files that can be referenced from your projenrc typescript file.

        Default: "projenrc"

        Parameters:
        projenCodeDir - A directory tree that may contain *.ts files that can be referenced from your projenrc typescript file. This parameter is required.
        Returns:
        this
      • tsconfigFileName

        @Stability(Experimental)
        public ProjenrcTs.Builder tsconfigFileName​(String tsconfigFileName)
        (experimental) The name of the tsconfig file that will be used by ts-node when compiling projen source files.

        Default: "tsconfig.projen.json"

        Parameters:
        tsconfigFileName - The name of the tsconfig file that will be used by ts-node when compiling projen source files. This parameter is required.
        Returns:
        this
      • build

        @Stability(Experimental)
        public ProjenrcTs build()
        Specified by:
        build in interface software.amazon.jsii.Builder<ProjenrcTs>
        Returns:
        a newly built instance of ProjenrcTs.