Class StartMenuItemInner


  • public final class StartMenuItemInner
    extends com.azure.core.management.ProxyResource
    Represents a StartMenuItem definition.
    • Constructor Detail

      • StartMenuItemInner

        public StartMenuItemInner()
    • Method Detail

      • appAlias

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

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

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

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

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

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

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

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

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

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

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