Class StartMenuItemProperties
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.fluent.models.StartMenuItemProperties
Schema for StartMenuItem properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappAlias()
Get the appAlias property: Alias of StartMenuItem.Get the commandLineArguments property: Command line arguments for StartMenuItem.filePath()
Get the filePath property: Path to the file of StartMenuItem.Get the iconIndex property: Index of the icon.iconPath()
Get the iconPath property: Path to the icon.void
validate()
Validates the instance.withAppAlias
(String appAlias) Set the appAlias property: Alias of StartMenuItem.withCommandLineArguments
(String commandLineArguments) Set the commandLineArguments property: Command line arguments for StartMenuItem.withFilePath
(String filePath) Set the filePath property: Path to the file of StartMenuItem.withIconIndex
(Integer iconIndex) Set the iconIndex property: Index of the icon.withIconPath
(String iconPath) Set the iconPath property: Path to the icon.
-
Constructor Details
-
StartMenuItemProperties
public StartMenuItemProperties()
-
-
Method Details
-
appAlias
Get the appAlias property: Alias of StartMenuItem.- Returns:
- the appAlias value.
-
withAppAlias
Set the appAlias property: Alias of StartMenuItem.- Parameters:
appAlias
- the appAlias value to set.- Returns:
- the StartMenuItemProperties object itself.
-
filePath
Get the filePath property: Path to the file of StartMenuItem.- Returns:
- the filePath value.
-
withFilePath
Set the filePath property: Path to the file of StartMenuItem.- Parameters:
filePath
- the filePath value to set.- Returns:
- the StartMenuItemProperties object itself.
-
commandLineArguments
Get the commandLineArguments property: Command line arguments for StartMenuItem.- Returns:
- the commandLineArguments value.
-
withCommandLineArguments
Set the commandLineArguments property: Command line arguments for StartMenuItem.- Parameters:
commandLineArguments
- the commandLineArguments value to set.- Returns:
- the StartMenuItemProperties object itself.
-
iconPath
Get the iconPath property: Path to the icon.- Returns:
- the iconPath value.
-
withIconPath
Set the iconPath property: Path to the icon.- Parameters:
iconPath
- the iconPath value to set.- Returns:
- the StartMenuItemProperties object itself.
-
iconIndex
Get the iconIndex property: Index of the icon.- Returns:
- the iconIndex value.
-
withIconIndex
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.
-