Share via


ApplicationPatch Class

  • java.lang.Object
    • com.azure.resourcemanager.desktopvirtualization.models.ApplicationPatch

Implements

public final class ApplicationPatch
implements JsonSerializable<ApplicationPatch>

Application properties that can be patched.

Constructor Summary

Constructor Description
ApplicationPatch()

Creates an instance of ApplicationPatch 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 ApplicationPatch fromJson(JsonReader jsonReader)

Reads an instance of ApplicationPatch 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.

Map<String,String> tags()

Get the tags property: tags to be updated.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationPatch withApplicationType(RemoteApplicationType applicationType)

Set the applicationType property: Resource Type of Application.

ApplicationPatch withCommandLineArguments(String commandLineArguments)

Set the commandLineArguments property: Command Line Arguments for Application.

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

ApplicationPatch withDescription(String description)

Set the description property: Description of Application.

ApplicationPatch withFilePath(String filePath)

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

ApplicationPatch withFriendlyName(String friendlyName)

Set the friendlyName property: Friendly name of Application.

ApplicationPatch withIconIndex(Integer iconIndex)

Set the iconIndex property: Index of the icon.

ApplicationPatch withIconPath(String iconPath)

Set the iconPath property: Path to icon.

ApplicationPatch withMsixPackageApplicationId(String msixPackageApplicationId)

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

ApplicationPatch withMsixPackageFamilyName(String msixPackageFamilyName)

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

ApplicationPatch withShowInPortal(Boolean showInPortal)

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

ApplicationPatch withTags(Map<String,String> tags)

Set the tags property: tags to be updated.

Methods inherited from java.lang.Object

Constructor Details

ApplicationPatch

public ApplicationPatch()

Creates an instance of ApplicationPatch 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 ApplicationPatch fromJson(JsonReader jsonReader)

Reads an instance of ApplicationPatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationPatch 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 ApplicationPatch.

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.

tags

public Map<String,String> tags()

Get the tags property: tags to be updated.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withApplicationType

public ApplicationPatch withApplicationType(RemoteApplicationType applicationType)

Set the applicationType property: Resource Type of Application.

Parameters:

applicationType - the applicationType value to set.

Returns:

the ApplicationPatch object itself.

withCommandLineArguments

public ApplicationPatch withCommandLineArguments(String commandLineArguments)

Set the commandLineArguments property: Command Line Arguments for Application.

Parameters:

commandLineArguments - the commandLineArguments value to set.

Returns:

the ApplicationPatch object itself.

withCommandLineSetting

public ApplicationPatch 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 ApplicationPatch object itself.

withDescription

public ApplicationPatch withDescription(String description)

Set the description property: Description of Application.

Parameters:

description - the description value to set.

Returns:

the ApplicationPatch object itself.

withFilePath

public ApplicationPatch 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 ApplicationPatch object itself.

withFriendlyName

public ApplicationPatch withFriendlyName(String friendlyName)

Set the friendlyName property: Friendly name of Application.

Parameters:

friendlyName - the friendlyName value to set.

Returns:

the ApplicationPatch object itself.

withIconIndex

public ApplicationPatch withIconIndex(Integer iconIndex)

Set the iconIndex property: Index of the icon.

Parameters:

iconIndex - the iconIndex value to set.

Returns:

the ApplicationPatch object itself.

withIconPath

public ApplicationPatch withIconPath(String iconPath)

Set the iconPath property: Path to icon.

Parameters:

iconPath - the iconPath value to set.

Returns:

the ApplicationPatch object itself.

withMsixPackageApplicationId

public ApplicationPatch withMsixPackageApplicationId(String msixPackageApplicationId)

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

Parameters:

msixPackageApplicationId - the msixPackageApplicationId value to set.

Returns:

the ApplicationPatch object itself.

withMsixPackageFamilyName

public ApplicationPatch withMsixPackageFamilyName(String msixPackageFamilyName)

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

Parameters:

msixPackageFamilyName - the msixPackageFamilyName value to set.

Returns:

the ApplicationPatch object itself.

withShowInPortal

public ApplicationPatch 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 ApplicationPatch object itself.

withTags

public ApplicationPatch withTags(Map<String,String> tags)

Set the tags property: tags to be updated.

Parameters:

tags - the tags value to set.

Returns:

the ApplicationPatch object itself.

Applies to