Package com.pulumi.automation
Class ProjectRuntimeOptions
- java.lang.Object
-
- com.pulumi.automation.ProjectRuntimeOptions
-
public class ProjectRuntimeOptions extends java.lang.Object
Various configuration options that apply to different language runtimes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectRuntimeOptions.Builder
Builder forProjectRuntimeOptions
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
binary()
Applies to Go, .NET, and Java projects only.static ProjectRuntimeOptions.Builder
builder()
Returns a new builder forProjectRuntimeOptions
.java.lang.String
buildTarget()
Applies to Go projects only.java.lang.String
compiler()
Applies to YAML projects only.boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
nodeargs()
Applies to NodeJS projects only.java.lang.String
packagemanager()
Applies to NodeJS projects only.ProjectRuntimeOptions.Builder
toBuilder()
Creates a newProjectRuntimeOptions.Builder
initialized with the values from this instance.java.lang.String
toolchain()
Applies to Python projects only.java.lang.String
typechecker()
Applies to Python projects only.java.lang.Boolean
typescript()
Applies to NodeJS projects only.java.lang.String
virtualenv()
Applies to Python projects only.
-
-
-
Method Detail
-
builder
public static ProjectRuntimeOptions.Builder builder()
Returns a new builder forProjectRuntimeOptions
.- Returns:
- the builder
-
typescript
public java.lang.Boolean typescript()
Applies to NodeJS projects only. A boolean that controls whether to use ts-node to execute sources.- Returns:
- the typescript flag
-
nodeargs
public java.lang.String nodeargs()
Applies to NodeJS projects only. Arguments to pass tonode
.- Returns:
- the arguments to pass to
node
-
packagemanager
public java.lang.String packagemanager()
Applies to NodeJS projects only. The package manager to use for installing dependencies, either "npm" (default), "pnpm", or "yarn".- Returns:
- the package manager
-
buildTarget
public java.lang.String buildTarget()
Applies to Go projects only. Path to save the compiled go binary to.- Returns:
- the build target
-
binary
public java.lang.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.
- Returns:
- the binary
-
toolchain
public java.lang.String toolchain()
Applies to Python projects only. The toolchain to use for managing virtual environments, either "pip" (default) or "poetry", or "uv".- Returns:
- the toolchain
-
virtualenv
public java.lang.String virtualenv()
Applies to Python projects only. A string that specifies the path to a virtual environment to use when running the program.- Returns:
- the virtual environment
-
typechecker
public java.lang.String typechecker()
Applies to Python projects only. The type checker library to use.- Returns:
- the type checker
-
compiler
public java.lang.String compiler()
Applies to YAML projects only. Executable and arguments issued to standard out.- Returns:
- the compiler
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public ProjectRuntimeOptions.Builder toBuilder()
Creates a newProjectRuntimeOptions.Builder
initialized with the values from this instance.- Returns:
- a new
ProjectRuntimeOptions.Builder
with values copied from this instance
-
-