ApplicationPatchProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.desktopvirtualization.fluent.models.ApplicationPatchProperties

Implements

public final class ApplicationPatchProperties
implements JsonSerializable<ApplicationPatchProperties>

Application properties that can be patched.

Constructor Summary

Constructor Description
ApplicationPatchProperties()

Creates an instance of ApplicationPatchProperties class.

Method Summary

Modifier and Type Method and Description
RemoteApplicationType applicationType()

Get the applicationType property: Resource Type of Application.

String commandLineArguments()

Get the commandLineArguments property: Command Line Arguments for Application.

CommandLineSetting commandLineSetting()

Get the commandLineSetting property: Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.

String description()

Get the description property: Description of Application.

String filePath()

Get the filePath property: Specifies a path for the executable file for the application.

String friendlyName()

Get the friendlyName property: Friendly name of Application.

static ApplicationPatchProperties fromJson(JsonReader jsonReader)

Reads an instance of ApplicationPatchProperties from the JsonReader.

Integer iconIndex()

Get the iconIndex property: Index of the icon.

String iconPath()

Get the iconPath property: Path to icon.

String msixPackageApplicationId()

Get the msixPackageApplicationId property: Specifies the package application Id for MSIX applications.

String msixPackageFamilyName()

Get the msixPackageFamilyName property: Specifies the package family name for MSIX applications.

Boolean showInPortal()

Get the showInPortal property: Specifies whether to show the RemoteApp program in the RD Web Access server.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationPatchProperties withApplicationType(RemoteApplicationType applicationType)

Set the applicationType property: Resource Type of Application.

ApplicationPatchProperties withCommandLineArguments(String commandLineArguments)

Set the commandLineArguments property: Command Line Arguments for Application.

ApplicationPatchProperties withCommandLineSetting(CommandLineSetting commandLineSetting)

Set the commandLineSetting property: Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.

ApplicationPatchProperties withDescription(String description)

Set the description property: Description of Application.

ApplicationPatchProperties withFilePath(String filePath)

Set the filePath property: Specifies a path for the executable file for the application.

ApplicationPatchProperties withFriendlyName(String friendlyName)

Set the friendlyName property: Friendly name of Application.

ApplicationPatchProperties withIconIndex(Integer iconIndex)

Set the iconIndex property: Index of the icon.

ApplicationPatchProperties withIconPath(String iconPath)

Set the iconPath property: Path to icon.

ApplicationPatchProperties withMsixPackageApplicationId(String msixPackageApplicationId)

Set the msixPackageApplicationId property: Specifies the package application Id for MSIX applications.

ApplicationPatchProperties withMsixPackageFamilyName(String msixPackageFamilyName)

Set the msixPackageFamilyName property: Specifies the package family name for MSIX applications.

ApplicationPatchProperties withShowInPortal(Boolean showInPortal)

Set the showInPortal property: Specifies whether to show the RemoteApp program in the RD Web Access server.

Methods inherited from java.lang.Object

Constructor Details

ApplicationPatchProperties

public ApplicationPatchProperties()

Creates an instance of ApplicationPatchProperties class.

Method Details

applicationType

public RemoteApplicationType applicationType()

Get the applicationType property: Resource Type of Application.

Returns:

the applicationType value.

commandLineArguments

public String commandLineArguments()

Get the commandLineArguments property: Command Line Arguments for Application.

Returns:

the commandLineArguments value.

commandLineSetting

public CommandLineSetting commandLineSetting()

Get the commandLineSetting property: Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.

Returns:

the commandLineSetting value.

description

public String description()

Get the description property: Description of Application.

Returns:

the description value.

filePath

public String filePath()

Get the filePath property: Specifies a path for the executable file for the application.

Returns:

the filePath value.

friendlyName

public String friendlyName()

Get the friendlyName property: Friendly name of Application.

Returns:

the friendlyName value.

fromJson

public static ApplicationPatchProperties fromJson(JsonReader jsonReader)

Reads an instance of ApplicationPatchProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ApplicationPatchProperties.

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 icon.

Returns:

the iconPath value.

msixPackageApplicationId

public String msixPackageApplicationId()

Get the msixPackageApplicationId property: Specifies the package application Id for MSIX applications.

Returns:

the msixPackageApplicationId value.

msixPackageFamilyName

public String msixPackageFamilyName()

Get the msixPackageFamilyName property: Specifies the package family name for MSIX applications.

Returns:

the msixPackageFamilyName value.

showInPortal

public Boolean showInPortal()

Get the showInPortal property: Specifies whether to show the RemoteApp program in the RD Web Access server.

Returns:

the showInPortal value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withApplicationType

public ApplicationPatchProperties withApplicationType(RemoteApplicationType applicationType)

Set the applicationType property: Resource Type of Application.

Parameters:

applicationType - the applicationType value to set.

Returns:

the ApplicationPatchProperties object itself.

withCommandLineArguments

public ApplicationPatchProperties withCommandLineArguments(String commandLineArguments)

Set the commandLineArguments property: Command Line Arguments for Application.

Parameters:

commandLineArguments - the commandLineArguments value to set.

Returns:

the ApplicationPatchProperties object itself.

withCommandLineSetting

public ApplicationPatchProperties withCommandLineSetting(CommandLineSetting commandLineSetting)

Set the commandLineSetting property: Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.

Parameters:

commandLineSetting - the commandLineSetting value to set.

Returns:

the ApplicationPatchProperties object itself.

withDescription

public ApplicationPatchProperties withDescription(String description)

Set the description property: Description of Application.

Parameters:

description - the description value to set.

Returns:

the ApplicationPatchProperties object itself.

withFilePath

public ApplicationPatchProperties withFilePath(String filePath)

Set the filePath property: Specifies a path for the executable file for the application.

Parameters:

filePath - the filePath value to set.

Returns:

the ApplicationPatchProperties object itself.

withFriendlyName

public ApplicationPatchProperties withFriendlyName(String friendlyName)

Set the friendlyName property: Friendly name of Application.

Parameters:

friendlyName - the friendlyName value to set.

Returns:

the ApplicationPatchProperties object itself.

withIconIndex

public ApplicationPatchProperties withIconIndex(Integer iconIndex)

Set the iconIndex property: Index of the icon.

Parameters:

iconIndex - the iconIndex value to set.

Returns:

the ApplicationPatchProperties object itself.

withIconPath

public ApplicationPatchProperties withIconPath(String iconPath)

Set the iconPath property: Path to icon.

Parameters:

iconPath - the iconPath value to set.

Returns:

the ApplicationPatchProperties object itself.

withMsixPackageApplicationId

public ApplicationPatchProperties withMsixPackageApplicationId(String msixPackageApplicationId)

Set the msixPackageApplicationId property: Specifies the package application Id for MSIX applications.

Parameters:

msixPackageApplicationId - the msixPackageApplicationId value to set.

Returns:

the ApplicationPatchProperties object itself.

withMsixPackageFamilyName

public ApplicationPatchProperties withMsixPackageFamilyName(String msixPackageFamilyName)

Set the msixPackageFamilyName property: Specifies the package family name for MSIX applications.

Parameters:

msixPackageFamilyName - the msixPackageFamilyName value to set.

Returns:

the ApplicationPatchProperties object itself.

withShowInPortal

public ApplicationPatchProperties withShowInPortal(Boolean showInPortal)

Set the showInPortal property: Specifies whether to show the RemoteApp program in the RD Web Access server.

Parameters:

showInPortal - the showInPortal value to set.

Returns:

the ApplicationPatchProperties object itself.

Applies to