Class ProjectRuntimeOptions.Builder

java.lang.Object
com.pulumi.automation.ProjectRuntimeOptions.Builder
Enclosing class:
ProjectRuntimeOptions

public static class ProjectRuntimeOptions.Builder extends Object
  • Method Details

    • typescript

      public ProjectRuntimeOptions.Builder typescript(Boolean typescript)
      Applies to NodeJS projects only. A boolean that controls whether to use ts-node to execute sources.
      Parameters:
      typescript - the typescript flag
      Returns:
      the builder
    • nodeargs

      public ProjectRuntimeOptions.Builder nodeargs(String nodeargs)
      Applies to NodeJS projects only. Arguments to pass to node.
      Parameters:
      nodeargs - arguments to pass to node
      Returns:
      the builder
    • packagemanager

      public ProjectRuntimeOptions.Builder packagemanager(String packagemanager)
      Applies to NodeJS projects only. The package manager to use for installing dependencies, either "npm" (default), "pnpm", or "yarn".
      Parameters:
      packagemanager - the package manager
      Returns:
      the builder
    • buildTarget

      public ProjectRuntimeOptions.Builder buildTarget(String buildTarget)
      Applies to Go projects only. Path to save the compiled go binary to.
      Parameters:
      buildTarget - the build target
      Returns:
      the builder
    • binary

      public ProjectRuntimeOptions.Builder binary(String binary)
      Applies to Go, .NET, and Java projects only.
      • Go: A string that specifies the name of a pre-build executable to look for on your path.
      • .NET: A string that specifies the path of a pre-build .NET assembly.
      • Java: A string that specifies the path of a pre-build Java JAR file or a JBang entry-point file to execute.
      Parameters:
      binary - the binary
      Returns:
      the builder
    • toolchain

      public ProjectRuntimeOptions.Builder toolchain(String toolchain)
      Applies to Python projects only. The toolchain to use for managing virtual environments, either "pip" (default) or "poetry", or "uv".
      Parameters:
      toolchain - the toolchain
      Returns:
      the builder
    • virtualenv

      public ProjectRuntimeOptions.Builder virtualenv(String virtualenv)
      Applies to Python projects only. A string that specifies the path to a virtual environment to use when running the program.
      Parameters:
      virtualenv - the virtual environment
      Returns:
      the builder
    • typechecker

      public ProjectRuntimeOptions.Builder typechecker(String typechecker)
      Applies to Python projects only. The type checker library to use.
      Parameters:
      typechecker - the type checker
      Returns:
      the builder
    • compiler

      public ProjectRuntimeOptions.Builder compiler(String compiler)
      Applies to YAML projects only. Executable and arguments issued to standard out.
      Parameters:
      compiler - executable and arguments
      Returns:
      the builder
    • build

      public ProjectRuntimeOptions build()
      Returns:
      the project runtime options