AppAttachPackageInfoProperties Class

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

Implements

public final class AppAttachPackageInfoProperties
implements JsonSerializable<AppAttachPackageInfoProperties>

Schema for Import Package Information properties.

Constructor Summary

Constructor Description
AppAttachPackageInfoProperties()

Creates an instance of AppAttachPackageInfoProperties class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime certificateExpiry()

Get the certificateExpiry property: Date certificate expires, found in the appxmanifest.xml.

String certificateName()

Get the certificateName property: Certificate name found in the appxmanifest.xml.

String displayName()

Get the displayName property: User friendly Name to be displayed in the portal.

static AppAttachPackageInfoProperties fromJson(JsonReader jsonReader)

Reads an instance of AppAttachPackageInfoProperties from the JsonReader.

String imagePath()

Get the imagePath property: VHD/CIM image path on Network Share.

Boolean isActive()

Get the isActive property: Make this version of the package the active one across the hostpool.

PackageTimestamped isPackageTimestamped()

Get the isPackageTimestamped property: Is package timestamped so it can ignore the certificate expiry date.

Boolean isRegularRegistration()

Get the isRegularRegistration property: Specifies how to register Package in feed.

OffsetDateTime lastUpdated()

Get the lastUpdated property: Date Package was last updated, found in the appxmanifest.xml.

String packageAlias()

Get the packageAlias property: Alias of App Attach Package.

List<MsixPackageApplications> packageApplications()

Get the packageApplications property: List of package applications.

List<MsixPackageDependencies> packageDependencies()

Get the packageDependencies property: List of package dependencies.

String packageFamilyName()

Get the packageFamilyName property: Package Family Name from appxmanifest.xml.

String packageFullName()

Get the packageFullName property: Package Full Name from appxmanifest.xml.

String packageName()

Get the packageName property: Package Name from appxmanifest.xml.

String packageRelativePath()

Get the packageRelativePath property: Relative Path to the package inside the image.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: Package version found in the appxmanifest.xml.

AppAttachPackageInfoProperties withCertificateExpiry(OffsetDateTime certificateExpiry)

Set the certificateExpiry property: Date certificate expires, found in the appxmanifest.xml.

AppAttachPackageInfoProperties withCertificateName(String certificateName)

Set the certificateName property: Certificate name found in the appxmanifest.xml.

AppAttachPackageInfoProperties withDisplayName(String displayName)

Set the displayName property: User friendly Name to be displayed in the portal.

AppAttachPackageInfoProperties withImagePath(String imagePath)

Set the imagePath property: VHD/CIM image path on Network Share.

AppAttachPackageInfoProperties withIsActive(Boolean isActive)

Set the isActive property: Make this version of the package the active one across the hostpool.

AppAttachPackageInfoProperties withIsPackageTimestamped(PackageTimestamped isPackageTimestamped)

Set the isPackageTimestamped property: Is package timestamped so it can ignore the certificate expiry date.

AppAttachPackageInfoProperties withIsRegularRegistration(Boolean isRegularRegistration)

Set the isRegularRegistration property: Specifies how to register Package in feed.

AppAttachPackageInfoProperties withLastUpdated(OffsetDateTime lastUpdated)

Set the lastUpdated property: Date Package was last updated, found in the appxmanifest.xml.

AppAttachPackageInfoProperties withPackageAlias(String packageAlias)

Set the packageAlias property: Alias of App Attach Package.

AppAttachPackageInfoProperties withPackageApplications(List<MsixPackageApplications> packageApplications)

Set the packageApplications property: List of package applications.

AppAttachPackageInfoProperties withPackageDependencies(List<MsixPackageDependencies> packageDependencies)

Set the packageDependencies property: List of package dependencies.

AppAttachPackageInfoProperties withPackageFamilyName(String packageFamilyName)

Set the packageFamilyName property: Package Family Name from appxmanifest.xml.

AppAttachPackageInfoProperties withPackageFullName(String packageFullName)

Set the packageFullName property: Package Full Name from appxmanifest.xml.

AppAttachPackageInfoProperties withPackageName(String packageName)

Set the packageName property: Package Name from appxmanifest.xml.

AppAttachPackageInfoProperties withPackageRelativePath(String packageRelativePath)

Set the packageRelativePath property: Relative Path to the package inside the image.

AppAttachPackageInfoProperties withVersion(String version)

Set the version property: Package version found in the appxmanifest.xml.

Methods inherited from java.lang.Object

Constructor Details

AppAttachPackageInfoProperties

public AppAttachPackageInfoProperties()

Creates an instance of AppAttachPackageInfoProperties class.

Method Details

certificateExpiry

public OffsetDateTime certificateExpiry()

Get the certificateExpiry property: Date certificate expires, found in the appxmanifest.xml.

Returns:

the certificateExpiry value.

certificateName

public String certificateName()

Get the certificateName property: Certificate name found in the appxmanifest.xml.

Returns:

the certificateName value.

displayName

public String displayName()

Get the displayName property: User friendly Name to be displayed in the portal.

Returns:

the displayName value.

fromJson

public static AppAttachPackageInfoProperties fromJson(JsonReader jsonReader)

Reads an instance of AppAttachPackageInfoProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

imagePath

public String imagePath()

Get the imagePath property: VHD/CIM image path on Network Share.

Returns:

the imagePath value.

isActive

public Boolean isActive()

Get the isActive property: Make this version of the package the active one across the hostpool.

Returns:

the isActive value.

isPackageTimestamped

public PackageTimestamped isPackageTimestamped()

Get the isPackageTimestamped property: Is package timestamped so it can ignore the certificate expiry date.

Returns:

the isPackageTimestamped value.

isRegularRegistration

public Boolean isRegularRegistration()

Get the isRegularRegistration property: Specifies how to register Package in feed.

Returns:

the isRegularRegistration value.

lastUpdated

public OffsetDateTime lastUpdated()

Get the lastUpdated property: Date Package was last updated, found in the appxmanifest.xml.

Returns:

the lastUpdated value.

packageAlias

public String packageAlias()

Get the packageAlias property: Alias of App Attach Package. Assigned at import time.

Returns:

the packageAlias value.

packageApplications

public List<MsixPackageApplications> packageApplications()

Get the packageApplications property: List of package applications.

Returns:

the packageApplications value.

packageDependencies

public List<MsixPackageDependencies> packageDependencies()

Get the packageDependencies property: List of package dependencies.

Returns:

the packageDependencies value.

packageFamilyName

public String packageFamilyName()

Get the packageFamilyName property: Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.

Returns:

the packageFamilyName value.

packageFullName

public String packageFullName()

Get the packageFullName property: Package Full Name from appxmanifest.xml.

Returns:

the packageFullName value.

packageName

public String packageName()

Get the packageName property: Package Name from appxmanifest.xml.

Returns:

the packageName value.

packageRelativePath

public String packageRelativePath()

Get the packageRelativePath property: Relative Path to the package inside the image.

Returns:

the packageRelativePath value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: Package version found in the appxmanifest.xml.

Returns:

the version value.

withCertificateExpiry

public AppAttachPackageInfoProperties withCertificateExpiry(OffsetDateTime certificateExpiry)

Set the certificateExpiry property: Date certificate expires, found in the appxmanifest.xml.

Parameters:

certificateExpiry - the certificateExpiry value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withCertificateName

public AppAttachPackageInfoProperties withCertificateName(String certificateName)

Set the certificateName property: Certificate name found in the appxmanifest.xml.

Parameters:

certificateName - the certificateName value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withDisplayName

public AppAttachPackageInfoProperties withDisplayName(String displayName)

Set the displayName property: User friendly Name to be displayed in the portal.

Parameters:

displayName - the displayName value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withImagePath

public AppAttachPackageInfoProperties withImagePath(String imagePath)

Set the imagePath property: VHD/CIM image path on Network Share.

Parameters:

imagePath - the imagePath value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withIsActive

public AppAttachPackageInfoProperties withIsActive(Boolean isActive)

Set the isActive property: Make this version of the package the active one across the hostpool.

Parameters:

isActive - the isActive value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withIsPackageTimestamped

public AppAttachPackageInfoProperties withIsPackageTimestamped(PackageTimestamped isPackageTimestamped)

Set the isPackageTimestamped property: Is package timestamped so it can ignore the certificate expiry date.

Parameters:

isPackageTimestamped - the isPackageTimestamped value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withIsRegularRegistration

public AppAttachPackageInfoProperties withIsRegularRegistration(Boolean isRegularRegistration)

Set the isRegularRegistration property: Specifies how to register Package in feed.

Parameters:

isRegularRegistration - the isRegularRegistration value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withLastUpdated

public AppAttachPackageInfoProperties withLastUpdated(OffsetDateTime lastUpdated)

Set the lastUpdated property: Date Package was last updated, found in the appxmanifest.xml.

Parameters:

lastUpdated - the lastUpdated value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withPackageAlias

public AppAttachPackageInfoProperties withPackageAlias(String packageAlias)

Set the packageAlias property: Alias of App Attach Package. Assigned at import time.

Parameters:

packageAlias - the packageAlias value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withPackageApplications

public AppAttachPackageInfoProperties withPackageApplications(List<MsixPackageApplications> packageApplications)

Set the packageApplications property: List of package applications.

Parameters:

packageApplications - the packageApplications value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withPackageDependencies

public AppAttachPackageInfoProperties withPackageDependencies(List<MsixPackageDependencies> packageDependencies)

Set the packageDependencies property: List of package dependencies.

Parameters:

packageDependencies - the packageDependencies value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withPackageFamilyName

public AppAttachPackageInfoProperties withPackageFamilyName(String packageFamilyName)

Set the packageFamilyName property: Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.

Parameters:

packageFamilyName - the packageFamilyName value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withPackageFullName

public AppAttachPackageInfoProperties withPackageFullName(String packageFullName)

Set the packageFullName property: Package Full Name from appxmanifest.xml.

Parameters:

packageFullName - the packageFullName value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withPackageName

public AppAttachPackageInfoProperties withPackageName(String packageName)

Set the packageName property: Package Name from appxmanifest.xml.

Parameters:

packageName - the packageName value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withPackageRelativePath

public AppAttachPackageInfoProperties withPackageRelativePath(String packageRelativePath)

Set the packageRelativePath property: Relative Path to the package inside the image.

Parameters:

packageRelativePath - the packageRelativePath value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

withVersion

public AppAttachPackageInfoProperties withVersion(String version)

Set the version property: Package version found in the appxmanifest.xml.

Parameters:

version - the version value to set.

Returns:

the AppAttachPackageInfoProperties object itself.

Applies to