Package com.pulumi.automation
Class ProjectSettings.Builder
- java.lang.Object
-
- com.pulumi.automation.ProjectSettings.Builder
-
- Enclosing class:
- ProjectSettings
public static class ProjectSettings.Builder extends java.lang.ObjectBuilder forProjectSettings.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectSettings.Builderauthor(java.lang.String author)The author of the project.ProjectSettings.Builderbackend(ProjectBackend backend)The backend of the project.ProjectSettingsbuild()Builds theProjectSettings.ProjectSettings.Builderconfig(java.util.Map<java.lang.String,ProjectConfigType> config)The config of the project.ProjectSettings.Builderdescription(java.lang.String description)The description of the project.ProjectSettings.Builderlicense(java.lang.String license)The license of the project.ProjectSettings.Buildermain(java.lang.String main)An optional override for the program's main entry-point location.ProjectSettings.Buildername(java.lang.String name)The name of the project.ProjectSettings.Builderoptions(ProjectOptions options)The options of the project.ProjectSettings.Builderplugins(ProjectPlugins plugins)The plugins of the project.ProjectSettings.Builderruntime(ProjectRuntime runtime)The runtime of the project.ProjectSettings.Builderruntime(ProjectRuntimeName runtime)The runtime name of the project.ProjectSettings.BuilderstackConfigDir(java.lang.String stackConfigDir)Indicates where to store the Pulumi.<stack-name>.yaml files, combined with the folder Pulumi.yaml is in.ProjectSettings.Buildertemplate(ProjectTemplate template)The template of the project.ProjectSettings.Builderwebsite(java.lang.String website)The website of the project.
-
-
-
Method Detail
-
name
public ProjectSettings.Builder name(java.lang.String name)
The name of the project.- Parameters:
name- the name of the project- Returns:
- the builder
-
runtime
public ProjectSettings.Builder runtime(ProjectRuntimeName runtime)
The runtime name of the project.- Parameters:
runtime- the runtime name of the project- Returns:
- the builder
-
runtime
public ProjectSettings.Builder runtime(ProjectRuntime runtime)
The runtime of the project.- Parameters:
runtime- the runtime of the project- Returns:
- the builder
-
main
public ProjectSettings.Builder main(@Nullable java.lang.String main)
An optional override for the program's main entry-point location.- Parameters:
main- the main entry point of the program- Returns:
- the builder
-
description
public ProjectSettings.Builder description(@Nullable java.lang.String description)
The description of the project.- Parameters:
description- the description of the project- Returns:
- the builder
-
author
public ProjectSettings.Builder author(@Nullable java.lang.String author)
The author of the project.- Parameters:
author- the author of the project- Returns:
- the builder
-
website
public ProjectSettings.Builder website(@Nullable java.lang.String website)
The website of the project.- Parameters:
website- the website of the project- Returns:
- the builder
-
license
public ProjectSettings.Builder license(@Nullable java.lang.String license)
The license of the project.- Parameters:
license- the license of the project- Returns:
- the builder
-
config
public ProjectSettings.Builder config(@Nullable java.util.Map<java.lang.String,ProjectConfigType> config)
The config of the project.- Parameters:
config- the config of the project- Returns:
- the builder
-
stackConfigDir
public ProjectSettings.Builder stackConfigDir(@Nullable java.lang.String stackConfigDir)
Indicates where to store the Pulumi.<stack-name>.yaml files, combined with the folder Pulumi.yaml is in.- Parameters:
stackConfigDir- where to store the Pulumi.<stack-name>.yaml files- Returns:
- the builder
-
template
public ProjectSettings.Builder template(@Nullable ProjectTemplate template)
The template of the project.- Parameters:
template- the template of the project- Returns:
- the builder
-
backend
public ProjectSettings.Builder backend(@Nullable ProjectBackend backend)
The backend of the project.- Parameters:
backend- the backend of the project- Returns:
- the builder
-
options
public ProjectSettings.Builder options(@Nullable ProjectOptions options)
The options of the project.- Parameters:
options- the options of the project- Returns:
- the builder
-
plugins
public ProjectSettings.Builder plugins(@Nullable ProjectPlugins plugins)
The plugins of the project.- Parameters:
plugins- the plugins of the project- Returns:
- the builder
-
build
public ProjectSettings build()
Builds theProjectSettings.- Returns:
- the project settings
-
-