StartMenuItemInner Class

public final class StartMenuItemInner
extends ProxyResource

Represents a StartMenuItem definition.

Constructor Summary

Constructor Description
StartMenuItemInner()

Creates an instance of StartMenuItemInner class.

Method Summary

Modifier and Type Method and Description
String appAlias()

Get the appAlias property: Alias of StartMenuItem.

String commandLineArguments()

Get the commandLineArguments property: Command line arguments for StartMenuItem.

String filePath()

Get the filePath property: Path to the file of StartMenuItem.

static StartMenuItemInner fromJson(JsonReader jsonReader)

Reads an instance of StartMenuItemInner from the JsonReader.

Integer iconIndex()

Get the iconIndex property: Index of the icon.

String iconPath()

Get the iconPath property: Path to 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.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StartMenuItemInner withAppAlias(String appAlias)

Set the appAlias property: Alias of StartMenuItem.

StartMenuItemInner withCommandLineArguments(String commandLineArguments)

Set the commandLineArguments property: Command line arguments for StartMenuItem.

StartMenuItemInner withFilePath(String filePath)

Set the filePath property: Path to the file of StartMenuItem.

StartMenuItemInner withIconIndex(Integer iconIndex)

Set the iconIndex property: Index of the icon.

StartMenuItemInner withIconPath(String iconPath)

Set the iconPath property: Path to 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:

the appAlias value.

commandLineArguments

public String commandLineArguments()

Get the commandLineArguments property: Command line arguments for StartMenuItem.

Returns:

the commandLineArguments value.

filePath

public String filePath()

Get the filePath property: Path to the file of StartMenuItem.

Returns:

the filePath value.

fromJson

public static StartMenuItemInner fromJson(JsonReader jsonReader)

Reads an instance of StartMenuItemInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StartMenuItemInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

iconIndex

public Integer iconIndex()

Get the iconIndex property: Index of the icon.

Returns:

the iconIndex value.

iconPath

public String iconPath()

Get the iconPath property: Path to the icon.

Returns:

the iconPath value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

StartMenuItemInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StartMenuItemInner.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StartMenuItemInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StartMenuItemInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

Applies to