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

public final class ApplicationPatch extends Object
Application properties that can be patched.
  • Constructor Details

    • ApplicationPatch

      public ApplicationPatch()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: tags to be updated.
      Returns:
      the tags value.
    • 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.
    • description

      public String description()
      Get the description property: Description of Application.
      Returns:
      the description value.
    • 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.
    • friendlyName

      public String friendlyName()
      Get the friendlyName property: Friendly name of Application.
      Returns:
      the friendlyName value.
    • 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.
    • filePath

      public String filePath()
      Get the filePath property: Specifies a path for the executable file for the application.
      Returns:
      the filePath value.
    • 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.
    • 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 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.
    • commandLineArguments

      public String commandLineArguments()
      Get the commandLineArguments property: Command Line Arguments for Application.
      Returns:
      the commandLineArguments value.
    • 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.
    • 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 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.
    • iconPath

      public String iconPath()
      Get the iconPath property: Path to icon.
      Returns:
      the iconPath value.
    • 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.
    • iconIndex

      public Integer iconIndex()
      Get the iconIndex property: Index of the icon.
      Returns:
      the iconIndex value.
    • 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.
    • msixPackageFamilyName

      public String msixPackageFamilyName()
      Get the msixPackageFamilyName property: Specifies the package family name for MSIX applications.
      Returns:
      the msixPackageFamilyName value.
    • 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.
    • msixPackageApplicationId

      public String msixPackageApplicationId()
      Get the msixPackageApplicationId property: Specifies the package application Id for MSIX applications.
      Returns:
      the msixPackageApplicationId value.
    • 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.
    • applicationType

      public RemoteApplicationType applicationType()
      Get the applicationType property: Resource Type of Application.
      Returns:
      the applicationType value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.