ApplicationPatch Class
- java.
lang. Object - com.
azure. resourcemanager. desktopvirtualization. models. ApplicationPatch
- com.
Implements
public final class ApplicationPatch
implements JsonSerializable<ApplicationPatch>
Application properties that can be patched.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationPatch() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Remote |
applicationType()
Get the application |
| String |
commandLineArguments()
Get the command |
|
Command |
commandLineSetting()
Get the command |
| String |
description()
Get the description property: Description of Application. |
| String |
filePath()
Get the file |
| String |
friendlyName()
Get the friendly |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| Integer |
iconIndex()
Get the icon |
| String |
iconPath()
Get the icon |
| String |
msixPackageApplicationId()
Get the msix |
| String |
msixPackageFamilyName()
Get the msix |
| Boolean |
showInPortal()
Get the show |
| Map<String,String> |
tags()
Get the tags property: tags to be updated. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Application |
withApplicationType(RemoteApplicationType applicationType)
Set the application |
|
Application |
withCommandLineArguments(String commandLineArguments)
Set the command |
|
Application |
withCommandLineSetting(CommandLineSetting commandLineSetting)
Set the command |
|
Application |
withDescription(String description)
Set the description property: Description of Application. |
|
Application |
withFilePath(String filePath)
Set the file |
|
Application |
withFriendlyName(String friendlyName)
Set the friendly |
|
Application |
withIconIndex(Integer iconIndex)
Set the icon |
|
Application |
withIconPath(String iconPath)
Set the icon |
|
Application |
withMsixPackageApplicationId(String msixPackageApplicationId)
Set the msix |
|
Application |
withMsixPackageFamilyName(String msixPackageFamilyName)
Set the msix |
|
Application |
withShowInPortal(Boolean showInPortal)
Set the show |
|
Application |
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:
commandLineArguments
public String commandLineArguments()
Get the commandLineArguments property: Command Line Arguments for Application.
Returns:
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:
description
public String description()
Get the description property: Description of Application.
Returns:
filePath
public String filePath()
Get the filePath property: Specifies a path for the executable file for the application.
Returns:
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of Application.
Returns:
fromJson
public static ApplicationPatch fromJson(JsonReader jsonReader)
Reads an instance of ApplicationPatch 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 icon.
Returns:
msixPackageApplicationId
public String msixPackageApplicationId()
Get the msixPackageApplicationId property: Specifies the package application Id for MSIX applications.
Returns:
msixPackageFamilyName
public String msixPackageFamilyName()
Get the msixPackageFamilyName property: Specifies the package family name for MSIX applications.
Returns:
showInPortal
public Boolean showInPortal()
Get the showInPortal property: Specifies whether to show the RemoteApp program in the RD Web Access server.
Returns:
tags
public Map<String,String> tags()
Get the tags property: tags to be updated.
Returns:
toJson
validate
public void validate()
Validates the instance.
withApplicationType
public ApplicationPatch withApplicationType(RemoteApplicationType applicationType)
Set the applicationType property: Resource Type of Application.
Parameters:
Returns:
withCommandLineArguments
public ApplicationPatch withCommandLineArguments(String commandLineArguments)
Set the commandLineArguments property: Command Line Arguments for Application.
Parameters:
Returns:
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:
Returns:
withDescription
public ApplicationPatch withDescription(String description)
Set the description property: Description of Application.
Parameters:
Returns:
withFilePath
public ApplicationPatch withFilePath(String filePath)
Set the filePath property: Specifies a path for the executable file for the application.
Parameters:
Returns:
withFriendlyName
public ApplicationPatch withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of Application.
Parameters:
Returns:
withIconIndex
public ApplicationPatch withIconIndex(Integer iconIndex)
Set the iconIndex property: Index of the icon.
Parameters:
Returns:
withIconPath
public ApplicationPatch withIconPath(String iconPath)
Set the iconPath property: Path to icon.
Parameters:
Returns:
withMsixPackageApplicationId
public ApplicationPatch withMsixPackageApplicationId(String msixPackageApplicationId)
Set the msixPackageApplicationId property: Specifies the package application Id for MSIX applications.
Parameters:
Returns:
withMsixPackageFamilyName
public ApplicationPatch withMsixPackageFamilyName(String msixPackageFamilyName)
Set the msixPackageFamilyName property: Specifies the package family name for MSIX applications.
Parameters:
Returns:
withShowInPortal
public ApplicationPatch withShowInPortal(Boolean showInPortal)
Set the showInPortal property: Specifies whether to show the RemoteApp program in the RD Web Access server.
Parameters:
Returns:
withTags
public ApplicationPatch withTags(Map<String,String> tags)
Set the tags property: tags to be updated.
Parameters:
Returns: