Class Projenrc.Builder

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

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

      • filename

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

        Default: ".projenrc.py"

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

        @Stability(Experimental)
        public Projenrc.Builder projenVersion​(String projenVersion)
        (experimental) The projen version to use.

        Default: - current version

        Parameters:
        projenVersion - The projen version to use. This parameter is required.
        Returns:
        this
      • pythonExec

        @Stability(Experimental)
        public Projenrc.Builder pythonExec​(String pythonExec)
        (experimental) Path to the python executable to use.

        Default: "python"

        Parameters:
        pythonExec - Path to the python executable to use. This parameter is required.
        Returns:
        this
      • build

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