Class ProjectSettings

java.lang.Object
com.pulumi.automation.ProjectSettings

public class ProjectSettings extends Object
A Pulumi project manifest. It describes metadata applying to all sub-stacks created from the project.
  • Method Details

    • builder

      public static ProjectSettings.Builder builder(String name, ProjectRuntimeName runtime)
      Returns a new builder for ProjectSettings.
      Parameters:
      name - the name of the project
      runtime - the runtime name of the project
      Returns:
      the builder
    • builder

      public static ProjectSettings.Builder builder(String name, ProjectRuntime runtime)
      Returns a new builder for ProjectSettings.
      Parameters:
      name - the name of the project
      runtime - the runtime of the project
      Returns:
      the builder
    • name

      public String name()
      The name of the project.
      Returns:
      the name of the project
    • runtime

      public ProjectRuntime runtime()
      The runtime of the project.
      Returns:
      the runtime of the project
    • main

      @Nullable public String main()
      An optional override for the program's main entry-point location.
      Returns:
      the main entry point of the program
    • description

      @Nullable public String description()
      The description of the project.
      Returns:
      the description of the project
    • author

      @Nullable public String author()
      The author of the project.
      Returns:
      the author of the project
    • website

      @Nullable public String website()
      The website of the project.
      Returns:
      the website of the project
    • license

      @Nullable public String license()
      The license of the project.
      Returns:
      the license of the project
    • config

      public Map<String,ProjectConfigType> config()
      The config of the project.
      Returns:
      the config of the project
    • stackConfigDir

      @Nullable public String stackConfigDir()
      Indicates where to store the Pulumi.<stack-name>.yaml files, combined with the folder Pulumi.yaml is in.
      Returns:
      where to store the Pulumi.<stack-name>.yaml files
    • template

      @Nullable public ProjectTemplate template()
      The template of the project.
      Returns:
      the template of the project
    • backend

      @Nullable public ProjectBackend backend()
      The backend of the project.
      Returns:
      the backend of the project
    • options

      @Nullable public ProjectOptions options()
      An optional set of project options.
      Returns:
      the options of the project
    • plugins

      @Nullable public ProjectPlugins plugins()
      An optional set of plugins of the project.
      Returns:
      the plugins of the project
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toBuilder

      public ProjectSettings.Builder toBuilder()
      Creates a new ProjectSettings.Builder initialized with the values from this instance.
      Returns:
      a new ProjectSettings.Builder with values copied from this instance