StartMenuItemInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. desktopvirtualization. fluent. models. StartMenuItemInner
- com.
- com.
public final class StartMenuItemInner
extends ProxyResource
Represents a StartMenuItem definition.
Constructor Summary
| Constructor | Description |
|---|---|
| StartMenuItemInner() |
Creates an instance of Start |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
appAlias()
Get the app |
| String |
commandLineArguments()
Get the command |
| String |
filePath()
Get the file |
|
static
Start |
fromJson(JsonReader jsonReader)
Reads an instance of Start |
| Integer |
iconIndex()
Get the icon |
| String |
iconPath()
Get the icon |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Start |
withAppAlias(String appAlias)
Set the app |
|
Start |
withCommandLineArguments(String commandLineArguments)
Set the command |
|
Start |
withFilePath(String filePath)
Set the file |
|
Start |
withIconIndex(Integer iconIndex)
Set the icon |
|
Start |
withIconPath(String iconPath)
Set the icon |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
StartMenuItemInner
public StartMenuItemInner()
Creates an instance of StartMenuItemInner class.
Method Details
appAlias
public String appAlias()
Get the appAlias property: Alias of StartMenuItem.
Returns:
commandLineArguments
public String commandLineArguments()
Get the commandLineArguments property: Command line arguments for StartMenuItem.
Returns:
filePath
public String filePath()
Get the filePath property: Path to the file of StartMenuItem.
Returns:
fromJson
public static StartMenuItemInner fromJson(JsonReader jsonReader)
Reads an instance of StartMenuItemInner from the JsonReader.
Parameters:
Returns:
Throws:
iconIndex
public Integer iconIndex()
Get the iconIndex property: Index of the icon.
Returns:
iconPath
public String iconPath()
Get the iconPath property: Path to the icon.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
StartMenuItemInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
StartMenuItemInner.name()Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StartMenuItemInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
StartMenuItemInner.type()Returns:
validate
public void validate()
Validates the instance.
withAppAlias
public StartMenuItemInner withAppAlias(String appAlias)
Set the appAlias property: Alias of StartMenuItem.
Parameters:
Returns:
withCommandLineArguments
public StartMenuItemInner withCommandLineArguments(String commandLineArguments)
Set the commandLineArguments property: Command line arguments for StartMenuItem.
Parameters:
Returns:
withFilePath
public StartMenuItemInner withFilePath(String filePath)
Set the filePath property: Path to the file of StartMenuItem.
Parameters:
Returns:
withIconIndex
public StartMenuItemInner withIconIndex(Integer iconIndex)
Set the iconIndex property: Index of the icon.
Parameters:
Returns:
withIconPath
public StartMenuItemInner withIconPath(String iconPath)
Set the iconPath property: Path to the icon.
Parameters:
Returns: