Class ApplicationProperties
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.fluent.models.ApplicationProperties
-
public final class ApplicationProperties extends Object
Schema for Application properties.
-
-
Constructor Summary
Constructors Constructor Description ApplicationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteApplicationTypeapplicationType()Get the applicationType property: Resource Type of Application.StringcommandLineArguments()Get the commandLineArguments property: Command Line Arguments for Application.CommandLineSettingcommandLineSetting()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.Stringdescription()Get the description property: Description of Application.StringfilePath()Get the filePath property: Specifies a path for the executable file for the application.StringfriendlyName()Get the friendlyName property: Friendly name of Application.byte[]iconContent()Get the iconContent property: the icon a 64 bit string as a byte array.StringiconHash()Get the iconHash property: Hash of the icon.IntegericonIndex()Get the iconIndex property: Index of the icon.StringiconPath()Get the iconPath property: Path to icon.StringmsixPackageApplicationId()Get the msixPackageApplicationId property: Specifies the package application Id for MSIX applications.StringmsixPackageFamilyName()Get the msixPackageFamilyName property: Specifies the package family name for MSIX applications.StringobjectId()Get the objectId property: ObjectId of Application.BooleanshowInPortal()Get the showInPortal property: Specifies whether to show the RemoteApp program in the RD Web Access server.voidvalidate()Validates the instance.ApplicationPropertieswithApplicationType(RemoteApplicationType applicationType)Set the applicationType property: Resource Type of Application.ApplicationPropertieswithCommandLineArguments(String commandLineArguments)Set the commandLineArguments property: Command Line Arguments for Application.ApplicationPropertieswithCommandLineSetting(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.ApplicationPropertieswithDescription(String description)Set the description property: Description of Application.ApplicationPropertieswithFilePath(String filePath)Set the filePath property: Specifies a path for the executable file for the application.ApplicationPropertieswithFriendlyName(String friendlyName)Set the friendlyName property: Friendly name of Application.ApplicationPropertieswithIconIndex(Integer iconIndex)Set the iconIndex property: Index of the icon.ApplicationPropertieswithIconPath(String iconPath)Set the iconPath property: Path to icon.ApplicationPropertieswithMsixPackageApplicationId(String msixPackageApplicationId)Set the msixPackageApplicationId property: Specifies the package application Id for MSIX applications.ApplicationPropertieswithMsixPackageFamilyName(String msixPackageFamilyName)Set the msixPackageFamilyName property: Specifies the package family name for MSIX applications.ApplicationPropertieswithShowInPortal(Boolean showInPortal)Set the showInPortal property: Specifies whether to show the RemoteApp program in the RD Web Access server.
-
-
-
Method Detail
-
objectId
public String objectId()
Get the objectId property: ObjectId of Application. (internal use).- Returns:
- the objectId value.
-
description
public String description()
Get the description property: Description of Application.- Returns:
- the description value.
-
withDescription
public ApplicationProperties withDescription(String description)
Set the description property: Description of Application.- Parameters:
description- the description value to set.- Returns:
- the ApplicationProperties object itself.
-
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of Application.- Returns:
- the friendlyName value.
-
withFriendlyName
public ApplicationProperties withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of Application.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the ApplicationProperties object itself.
-
filePath
public String filePath()
Get the filePath property: Specifies a path for the executable file for the application.- Returns:
- the filePath value.
-
withFilePath
public ApplicationProperties 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 ApplicationProperties object itself.
-
msixPackageFamilyName
public String msixPackageFamilyName()
Get the msixPackageFamilyName property: Specifies the package family name for MSIX applications.- Returns:
- the msixPackageFamilyName value.
-
withMsixPackageFamilyName
public ApplicationProperties withMsixPackageFamilyName(String msixPackageFamilyName)
Set the msixPackageFamilyName property: Specifies the package family name for MSIX applications.- Parameters:
msixPackageFamilyName- the msixPackageFamilyName value to set.- Returns:
- the ApplicationProperties object itself.
-
msixPackageApplicationId
public String msixPackageApplicationId()
Get the msixPackageApplicationId property: Specifies the package application Id for MSIX applications.- Returns:
- the msixPackageApplicationId value.
-
withMsixPackageApplicationId
public ApplicationProperties withMsixPackageApplicationId(String msixPackageApplicationId)
Set the msixPackageApplicationId property: Specifies the package application Id for MSIX applications.- Parameters:
msixPackageApplicationId- the msixPackageApplicationId value to set.- Returns:
- the ApplicationProperties object itself.
-
applicationType
public RemoteApplicationType applicationType()
Get the applicationType property: Resource Type of Application.- Returns:
- the applicationType value.
-
withApplicationType
public ApplicationProperties withApplicationType(RemoteApplicationType applicationType)
Set the applicationType property: Resource Type of Application.- Parameters:
applicationType- the applicationType value to set.- Returns:
- the ApplicationProperties object itself.
-
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.
-
withCommandLineSetting
public ApplicationProperties 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 ApplicationProperties object itself.
-
commandLineArguments
public String commandLineArguments()
Get the commandLineArguments property: Command Line Arguments for Application.- Returns:
- the commandLineArguments value.
-
withCommandLineArguments
public ApplicationProperties withCommandLineArguments(String commandLineArguments)
Set the commandLineArguments property: Command Line Arguments for Application.- Parameters:
commandLineArguments- the commandLineArguments value to set.- Returns:
- the ApplicationProperties object itself.
-
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.
-
withShowInPortal
public ApplicationProperties 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 ApplicationProperties object itself.
-
iconPath
public String iconPath()
Get the iconPath property: Path to icon.- Returns:
- the iconPath value.
-
withIconPath
public ApplicationProperties withIconPath(String iconPath)
Set the iconPath property: Path to icon.- Parameters:
iconPath- the iconPath value to set.- Returns:
- the ApplicationProperties object itself.
-
iconIndex
public Integer iconIndex()
Get the iconIndex property: Index of the icon.- Returns:
- the iconIndex value.
-
withIconIndex
public ApplicationProperties withIconIndex(Integer iconIndex)
Set the iconIndex property: Index of the icon.- Parameters:
iconIndex- the iconIndex value to set.- Returns:
- the ApplicationProperties object itself.
-
iconHash
public String iconHash()
Get the iconHash property: Hash of the icon.- Returns:
- the iconHash value.
-
iconContent
public byte[] iconContent()
Get the iconContent property: the icon a 64 bit string as a byte array.- Returns:
- the iconContent value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-