Package com.pulumi.automation
Class ProjectRuntimeOptions
- java.lang.Object
-
- com.pulumi.automation.ProjectRuntimeOptions
-
public class ProjectRuntimeOptions extends java.lang.ObjectVarious configuration options that apply to different language runtimes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProjectRuntimeOptions.BuilderBuilder forProjectRuntimeOptions.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringbinary()Applies to Go, .NET, and Java projects only.static ProjectRuntimeOptions.Builderbuilder()Returns a new builder forProjectRuntimeOptions.java.lang.StringbuildTarget()Applies to Go projects only.java.lang.Stringcompiler()Applies to YAML projects only.booleanequals(java.lang.Object o)inthashCode()java.lang.Stringnodeargs()Applies to NodeJS projects only.java.lang.Stringpackagemanager()Applies to NodeJS projects only.ProjectRuntimeOptions.BuildertoBuilder()Creates a newProjectRuntimeOptions.Builderinitialized with the values from this instance.java.lang.Stringtoolchain()Applies to Python projects only.java.lang.Stringtypechecker()Applies to Python projects only.java.lang.Booleantypescript()Applies to NodeJS projects only.java.lang.Stringvirtualenv()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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public ProjectRuntimeOptions.Builder toBuilder()
Creates a newProjectRuntimeOptions.Builderinitialized with the values from this instance.- Returns:
- a new
ProjectRuntimeOptions.Builderwith values copied from this instance
-
-