Class MsixPackagePatch
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.desktopvirtualization.models.MsixPackagePatch
public final class MsixPackagePatch
extends com.azure.core.management.ProxyResource
MSIX Package properties that can be patched.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Display name for MSIX Package.isActive()Get the isActive property: Set a version of the package to be active across hostpool.Get the isRegularRegistration property: Set Registration mode.voidvalidate()Validates the instance.withDisplayName(String displayName) Set the displayName property: Display name for MSIX Package.withIsActive(Boolean isActive) Set the isActive property: Set a version of the package to be active across hostpool.withIsRegularRegistration(Boolean isRegularRegistration) Set the isRegularRegistration property: Set Registration mode.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
MsixPackagePatch
public MsixPackagePatch()Creates an instance of MsixPackagePatch class.
-
-
Method Details
-
isActive
Get the isActive property: Set a version of the package to be active across hostpool.- Returns:
- the isActive value.
-
withIsActive
Set the isActive property: Set a version of the package to be active across hostpool.- Parameters:
isActive- the isActive value to set.- Returns:
- the MsixPackagePatch object itself.
-
isRegularRegistration
Get the isRegularRegistration property: Set Registration mode. Regular or Delayed.- Returns:
- the isRegularRegistration value.
-
withIsRegularRegistration
Set the isRegularRegistration property: Set Registration mode. Regular or Delayed.- Parameters:
isRegularRegistration- the isRegularRegistration value to set.- Returns:
- the MsixPackagePatch object itself.
-
displayName
Get the displayName property: Display name for MSIX Package.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name for MSIX Package.- Parameters:
displayName- the displayName value to set.- Returns:
- the MsixPackagePatch object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-