Interface ApplicationConfig.Builder

  • Method Details

    • name

      The name of the application. This is a required field that must be unique within the application catalog and between 1-100 characters, matching the pattern ^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,99}$.

      Parameters:
      name - The name of the application. This is a required field that must be unique within the application catalog and between 1-100 characters, matching the pattern ^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,99}$.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      ApplicationConfig.Builder displayName(String displayName)

      The display name shown to users for this application. This field is optional and can be 0-100 characters, matching the pattern ^[a-zA-Z0-9][a-zA-Z0-9_. -]{0,99}$.

      Parameters:
      displayName - The display name shown to users for this application. This field is optional and can be 0-100 characters, matching the pattern ^[a-zA-Z0-9][a-zA-Z0-9_. -]{0,99}$.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • absoluteAppPath

      ApplicationConfig.Builder absoluteAppPath(String absoluteAppPath)

      The absolute path to the executable file that launches the application. This is a required field that can be 1-32767 characters to support Windows extended file paths. Use escaped file path strings like "C:\\\\Windows\\\\System32\\\\notepad.exe".

      Parameters:
      absoluteAppPath - The absolute path to the executable file that launches the application. This is a required field that can be 1-32767 characters to support Windows extended file paths. Use escaped file path strings like "C:\\\\Windows\\\\System32\\\\notepad.exe".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • absoluteIconPath

      ApplicationConfig.Builder absoluteIconPath(String absoluteIconPath)

      The absolute path to the icon file for the application. This field is optional and can be 1-32767 characters. If not provided, the icon is derived from the executable. Use PNG images with proper transparency for the best user experience.

      Parameters:
      absoluteIconPath - The absolute path to the icon file for the application. This field is optional and can be 1-32767 characters. If not provided, the icon is derived from the executable. Use PNG images with proper transparency for the best user experience.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • absoluteManifestPath

      ApplicationConfig.Builder absoluteManifestPath(String absoluteManifestPath)

      The absolute path to the prewarm manifest file for this application. This field is optional and only applicable when using application-specific manifests. The path can be 1-32767 characters and should point to a text file containing file paths to prewarm.

      Parameters:
      absoluteManifestPath - The absolute path to the prewarm manifest file for this application. This field is optional and only applicable when using application-specific manifests. The path can be 1-32767 characters and should point to a text file containing file paths to prewarm.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workingDirectory

      ApplicationConfig.Builder workingDirectory(String workingDirectory)

      The working directory to use when launching the application. This field is optional and can be 0-32767 characters. Use escaped file path strings like "C:\\\\Path\\\\To\\\\Working\\\\Directory".

      Parameters:
      workingDirectory - The working directory to use when launching the application. This field is optional and can be 0-32767 characters. Use escaped file path strings like "C:\\\\Path\\\\To\\\\Working\\\\Directory".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • launchParameters

      ApplicationConfig.Builder launchParameters(String launchParameters)

      The launch parameters to pass to the application executable. This field is optional and can be 0-1024 characters. Use escaped strings with the full list of required parameters, such as PowerShell script paths or command-line arguments.

      Parameters:
      launchParameters - The launch parameters to pass to the application executable. This field is optional and can be 0-1024 characters. Use escaped strings with the full list of required parameters, such as PowerShell script paths or command-line arguments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.