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.ProxyResourceMSIX Package properties that can be patched.
-
-
Constructor Summary
Constructors Constructor Description MsixPackagePatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdisplayName()Get the displayName property: Display name for MSIX Package.BooleanisActive()Get the isActive property: Set a version of the package to be active across hostpool.BooleanisRegularRegistration()Get the isRegularRegistration property: Set Registration mode.voidvalidate()Validates the instance.MsixPackagePatchwithDisplayName(String displayName)Set the displayName property: Display name for MSIX Package.MsixPackagePatchwithIsActive(Boolean isActive)Set the isActive property: Set a version of the package to be active across hostpool.MsixPackagePatchwithIsRegularRegistration(Boolean isRegularRegistration)Set the isRegularRegistration property: Set Registration mode.
-
-
-
Method Detail
-
isActive
public Boolean isActive()
Get the isActive property: Set a version of the package to be active across hostpool.- Returns:
- the isActive value.
-
withIsActive
public MsixPackagePatch withIsActive(Boolean isActive)
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
public Boolean isRegularRegistration()
Get the isRegularRegistration property: Set Registration mode. Regular or Delayed.- Returns:
- the isRegularRegistration value.
-
withIsRegularRegistration
public MsixPackagePatch withIsRegularRegistration(Boolean isRegularRegistration)
Set the isRegularRegistration property: Set Registration mode. Regular or Delayed.- Parameters:
isRegularRegistration- the isRegularRegistration value to set.- Returns:
- the MsixPackagePatch object itself.
-
displayName
public String displayName()
Get the displayName property: Display name for MSIX Package.- Returns:
- the displayName value.
-
withDisplayName
public MsixPackagePatch withDisplayName(String displayName)
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.
-
-