Class ProjectSettings.Builder

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

public static class ProjectSettings.Builder extends Object
Builder for ProjectSettings.
  • Method Details

    • name

      public ProjectSettings.Builder name(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 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 String description)
      The description of the project.
      Parameters:
      description - the description of the project
      Returns:
      the builder
    • author

      public ProjectSettings.Builder author(@Nullable String author)
      The author of the project.
      Parameters:
      author - the author of the project
      Returns:
      the builder
    • website

      public ProjectSettings.Builder website(@Nullable String website)
      The website of the project.
      Parameters:
      website - the website of the project
      Returns:
      the builder
    • license

      public ProjectSettings.Builder license(@Nullable String license)
      The license of the project.
      Parameters:
      license - the license of the project
      Returns:
      the builder
    • config

      public ProjectSettings.Builder config(@Nullable Map<String,ProjectConfigType> config)
      The config of the project.
      Parameters:
      config - the config of the project
      Returns:
      the builder
    • stackConfigDir

      public ProjectSettings.Builder stackConfigDir(@Nullable 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 the ProjectSettings.
      Returns:
      the project settings