AppAttachPackageInfoProperties Class
- java.
lang. Object - com.
azure. resourcemanager. desktopvirtualization. models. AppAttachPackageInfoProperties
- com.
Implements
public final class AppAttachPackageInfoProperties
implements JsonSerializable<AppAttachPackageInfoProperties>
Schema for Import Package Information properties.
Constructor Summary
| Constructor | Description |
|---|---|
| AppAttachPackageInfoProperties() |
Creates an instance of App |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
certificateExpiry()
Get the certificate |
| String |
certificateName()
Get the certificate |
| String |
displayName()
Get the display |
|
static
App |
fromJson(JsonReader jsonReader)
Reads an instance of App |
| String |
imagePath()
Get the image |
| Boolean |
isActive()
Get the is |
|
Package |
isPackageTimestamped()
Get the is |
| Boolean |
isRegularRegistration()
Get the is |
|
Offset |
lastUpdated()
Get the last |
| String |
packageAlias()
Get the package |
|
List<Msix |
packageApplications()
Get the package |
|
List<Msix |
packageDependencies()
Get the package |
| String |
packageFamilyName()
Get the package |
| String |
packageFullName()
Get the package |
| String |
packageName()
Get the package |
| String |
packageRelativePath()
Get the package |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
version()
Get the version property: Package version found in the appxmanifest. |
|
App |
withCertificateExpiry(OffsetDateTime certificateExpiry)
Set the certificate |
|
App |
withCertificateName(String certificateName)
Set the certificate |
|
App |
withDisplayName(String displayName)
Set the display |
|
App |
withImagePath(String imagePath)
Set the image |
|
App |
withIsActive(Boolean isActive)
Set the is |
|
App |
withIsPackageTimestamped(PackageTimestamped isPackageTimestamped)
Set the is |
|
App |
withIsRegularRegistration(Boolean isRegularRegistration)
Set the is |
|
App |
withLastUpdated(OffsetDateTime lastUpdated)
Set the last |
|
App |
withPackageAlias(String packageAlias)
Set the package |
|
App |
withPackageApplications(List<MsixPackageApplications> packageApplications)
Set the package |
|
App |
withPackageDependencies(List<MsixPackageDependencies> packageDependencies)
Set the package |
|
App |
withPackageFamilyName(String packageFamilyName)
Set the package |
|
App |
withPackageFullName(String packageFullName)
Set the package |
|
App |
withPackageName(String packageName)
Set the package |
|
App |
withPackageRelativePath(String packageRelativePath)
Set the package |
|
App |
withVersion(String version)
Set the version property: Package version found in the appxmanifest. |
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:
certificateName
public String certificateName()
Get the certificateName property: Certificate name found in the appxmanifest.xml.
Returns:
displayName
public String displayName()
Get the displayName property: User friendly Name to be displayed in the portal.
Returns:
fromJson
public static AppAttachPackageInfoProperties fromJson(JsonReader jsonReader)
Reads an instance of AppAttachPackageInfoProperties from the JsonReader.
Parameters:
Returns:
Throws:
imagePath
public String imagePath()
Get the imagePath property: VHD/CIM image path on Network Share.
Returns:
isActive
public Boolean isActive()
Get the isActive property: Make this version of the package the active one across the hostpool.
Returns:
isPackageTimestamped
public PackageTimestamped isPackageTimestamped()
Get the isPackageTimestamped property: Is package timestamped so it can ignore the certificate expiry date.
Returns:
isRegularRegistration
public Boolean isRegularRegistration()
Get the isRegularRegistration property: Specifies how to register Package in feed.
Returns:
lastUpdated
public OffsetDateTime lastUpdated()
Get the lastUpdated property: Date Package was last updated, found in the appxmanifest.xml.
Returns:
packageAlias
public String packageAlias()
Get the packageAlias property: Alias of App Attach Package. Assigned at import time.
Returns:
packageApplications
public List<MsixPackageApplications> packageApplications()
Get the packageApplications property: List of package applications.
Returns:
packageDependencies
public List<MsixPackageDependencies> packageDependencies()
Get the packageDependencies property: List of package dependencies.
Returns:
packageFamilyName
public String packageFamilyName()
Get the packageFamilyName property: Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.
Returns:
packageFullName
public String packageFullName()
Get the packageFullName property: Package Full Name from appxmanifest.xml.
Returns:
packageName
public String packageName()
Get the packageName property: Package Name from appxmanifest.xml.
Returns:
packageRelativePath
public String packageRelativePath()
Get the packageRelativePath property: Relative Path to the package inside the image.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Package version found in the appxmanifest.xml.
Returns:
withCertificateExpiry
public AppAttachPackageInfoProperties withCertificateExpiry(OffsetDateTime certificateExpiry)
Set the certificateExpiry property: Date certificate expires, found in the appxmanifest.xml.
Parameters:
Returns:
withCertificateName
public AppAttachPackageInfoProperties withCertificateName(String certificateName)
Set the certificateName property: Certificate name found in the appxmanifest.xml.
Parameters:
Returns:
withDisplayName
public AppAttachPackageInfoProperties withDisplayName(String displayName)
Set the displayName property: User friendly Name to be displayed in the portal.
Parameters:
Returns:
withImagePath
public AppAttachPackageInfoProperties withImagePath(String imagePath)
Set the imagePath property: VHD/CIM image path on Network Share.
Parameters:
Returns:
withIsActive
public AppAttachPackageInfoProperties withIsActive(Boolean isActive)
Set the isActive property: Make this version of the package the active one across the hostpool.
Parameters:
Returns:
withIsPackageTimestamped
public AppAttachPackageInfoProperties withIsPackageTimestamped(PackageTimestamped isPackageTimestamped)
Set the isPackageTimestamped property: Is package timestamped so it can ignore the certificate expiry date.
Parameters:
Returns:
withIsRegularRegistration
public AppAttachPackageInfoProperties withIsRegularRegistration(Boolean isRegularRegistration)
Set the isRegularRegistration property: Specifies how to register Package in feed.
Parameters:
Returns:
withLastUpdated
public AppAttachPackageInfoProperties withLastUpdated(OffsetDateTime lastUpdated)
Set the lastUpdated property: Date Package was last updated, found in the appxmanifest.xml.
Parameters:
Returns:
withPackageAlias
public AppAttachPackageInfoProperties withPackageAlias(String packageAlias)
Set the packageAlias property: Alias of App Attach Package. Assigned at import time.
Parameters:
Returns:
withPackageApplications
public AppAttachPackageInfoProperties withPackageApplications(List<MsixPackageApplications> packageApplications)
Set the packageApplications property: List of package applications.
Parameters:
Returns:
withPackageDependencies
public AppAttachPackageInfoProperties withPackageDependencies(List<MsixPackageDependencies> packageDependencies)
Set the packageDependencies property: List of package dependencies.
Parameters:
Returns:
withPackageFamilyName
public AppAttachPackageInfoProperties withPackageFamilyName(String packageFamilyName)
Set the packageFamilyName property: Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.
Parameters:
Returns:
withPackageFullName
public AppAttachPackageInfoProperties withPackageFullName(String packageFullName)
Set the packageFullName property: Package Full Name from appxmanifest.xml.
Parameters:
Returns:
withPackageName
public AppAttachPackageInfoProperties withPackageName(String packageName)
Set the packageName property: Package Name from appxmanifest.xml.
Parameters:
Returns:
withPackageRelativePath
public AppAttachPackageInfoProperties withPackageRelativePath(String packageRelativePath)
Set the packageRelativePath property: Relative Path to the package inside the image.
Parameters:
Returns:
withVersion
public AppAttachPackageInfoProperties withVersion(String version)
Set the version property: Package version found in the appxmanifest.xml.
Parameters:
Returns: