Class StartMenuItemProperties

java.lang.Object
com.azure.resourcemanager.desktopvirtualization.fluent.models.StartMenuItemProperties

public final class StartMenuItemProperties extends Object
Schema for StartMenuItem properties.
  • Constructor Details

    • StartMenuItemProperties

      public StartMenuItemProperties()
  • Method Details

    • appAlias

      public String appAlias()
      Get the appAlias property: Alias of StartMenuItem.
      Returns:
      the appAlias value.
    • withAppAlias

      public StartMenuItemProperties withAppAlias(String appAlias)
      Set the appAlias property: Alias of StartMenuItem.
      Parameters:
      appAlias - the appAlias value to set.
      Returns:
      the StartMenuItemProperties object itself.
    • filePath

      public String filePath()
      Get the filePath property: Path to the file of StartMenuItem.
      Returns:
      the filePath value.
    • withFilePath

      public StartMenuItemProperties withFilePath(String filePath)
      Set the filePath property: Path to the file of StartMenuItem.
      Parameters:
      filePath - the filePath value to set.
      Returns:
      the StartMenuItemProperties object itself.
    • commandLineArguments

      public String commandLineArguments()
      Get the commandLineArguments property: Command line arguments for StartMenuItem.
      Returns:
      the commandLineArguments value.
    • withCommandLineArguments

      public StartMenuItemProperties withCommandLineArguments(String commandLineArguments)
      Set the commandLineArguments property: Command line arguments for StartMenuItem.
      Parameters:
      commandLineArguments - the commandLineArguments value to set.
      Returns:
      the StartMenuItemProperties object itself.
    • iconPath

      public String iconPath()
      Get the iconPath property: Path to the icon.
      Returns:
      the iconPath value.
    • withIconPath

      public StartMenuItemProperties withIconPath(String iconPath)
      Set the iconPath property: Path to the icon.
      Parameters:
      iconPath - the iconPath value to set.
      Returns:
      the StartMenuItemProperties object itself.
    • iconIndex

      public Integer iconIndex()
      Get the iconIndex property: Index of the icon.
      Returns:
      the iconIndex value.
    • withIconIndex

      public StartMenuItemProperties withIconIndex(Integer iconIndex)
      Set the iconIndex property: Index of the icon.
      Parameters:
      iconIndex - the iconIndex value to set.
      Returns:
      the StartMenuItemProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.