Class Application.Builder

Enclosing class:
Application

public static class Application.Builder extends ExecutionEnvironmentDTO.Builder<Application.Builder>
A builder to create applications.
Since:
3.0.0
  • Constructor Details

    • Builder

      public Builder(String name, String user, String version, ApplicationStatus status)
      Constructor which has required fields.
      Parameters:
      name - The name to use for the Application
      user - The user to use for the Application
      version - The version to use for the Application
      status - The status of the Application
  • Method Details

    • withType

      public Application.Builder withType(@Nullable String type)
      Set the type of this application.
      Parameters:
      type - The type (e.g. Hadoop, Spark, etc) for grouping applications
      Returns:
      The builder
    • build

      public Application build()
      Build the application.
      Returns:
      Create the final read-only Application instance