Class MsixPackageApplications
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.MsixPackageApplications
Schema for MSIX Package Application properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappId()
Get the appId property: Package Application Id, found in appxmanifest.xml.Get the appUserModelId property: Used to activate Package Application.Get the description property: Description of Package Application.Get the friendlyName property: User friendly name.Get the iconImageName property: User friendly name.byte[]
rawIcon()
Get the rawIcon property: the icon a 64 bit string as a byte array.byte[]
rawPng()
Get the rawPng property: the icon a 64 bit string as a byte array.void
validate()
Validates the instance.Set the appId property: Package Application Id, found in appxmanifest.xml.withAppUserModelId
(String appUserModelId) Set the appUserModelId property: Used to activate Package Application.withDescription
(String description) Set the description property: Description of Package Application.withFriendlyName
(String friendlyName) Set the friendlyName property: User friendly name.withIconImageName
(String iconImageName) Set the iconImageName property: User friendly name.withRawIcon
(byte[] rawIcon) Set the rawIcon property: the icon a 64 bit string as a byte array.withRawPng
(byte[] rawPng) Set the rawPng property: the icon a 64 bit string as a byte array.
-
Constructor Details
-
MsixPackageApplications
public MsixPackageApplications()
-
-
Method Details
-
appId
Get the appId property: Package Application Id, found in appxmanifest.xml.- Returns:
- the appId value.
-
withAppId
Set the appId property: Package Application Id, found in appxmanifest.xml.- Parameters:
appId
- the appId value to set.- Returns:
- the MsixPackageApplications object itself.
-
description
Get the description property: Description of Package Application.- Returns:
- the description value.
-
withDescription
Set the description property: Description of Package Application.- Parameters:
description
- the description value to set.- Returns:
- the MsixPackageApplications object itself.
-
appUserModelId
Get the appUserModelId property: Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.- Returns:
- the appUserModelId value.
-
withAppUserModelId
Set the appUserModelId property: Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.- Parameters:
appUserModelId
- the appUserModelId value to set.- Returns:
- the MsixPackageApplications object itself.
-
friendlyName
Get the friendlyName property: User friendly name.- Returns:
- the friendlyName value.
-
withFriendlyName
Set the friendlyName property: User friendly name.- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the MsixPackageApplications object itself.
-
iconImageName
Get the iconImageName property: User friendly name.- Returns:
- the iconImageName value.
-
withIconImageName
Set the iconImageName property: User friendly name.- Parameters:
iconImageName
- the iconImageName value to set.- Returns:
- the MsixPackageApplications object itself.
-
rawIcon
public byte[] rawIcon()Get the rawIcon property: the icon a 64 bit string as a byte array.- Returns:
- the rawIcon value.
-
withRawIcon
Set the rawIcon property: the icon a 64 bit string as a byte array.- Parameters:
rawIcon
- the rawIcon value to set.- Returns:
- the MsixPackageApplications object itself.
-
rawPng
public byte[] rawPng()Get the rawPng property: the icon a 64 bit string as a byte array.- Returns:
- the rawPng value.
-
withRawPng
Set the rawPng property: the icon a 64 bit string as a byte array.- Parameters:
rawPng
- the rawPng value to set.- Returns:
- the MsixPackageApplications object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-