Class AndroidManagedAppProtection

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class AndroidManagedAppProtection extends TargetedManagedAppProtection implements com.microsoft.kiota.serialization.Parsable
Policy used to configure detailed management settings targeted to specific security groups and for a specified set of apps on an Android device
  • Constructor Details

    • AndroidManagedAppProtection

      public AndroidManagedAppProtection()
      Instantiates a new AndroidManagedAppProtection and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static AndroidManagedAppProtection createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a AndroidManagedAppProtection
    • getApps

      @Nullable public List<ManagedMobileApp> getApps()
      Gets the apps property value. List of apps to which the policy is deployed.
      Returns:
      a List<ManagedMobileApp>
    • getCustomBrowserDisplayName

      @Nullable public String getCustomBrowserDisplayName()
      Gets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.
      Returns:
      a String
    • getCustomBrowserPackageId

      @Nullable public String getCustomBrowserPackageId()
      Gets the customBrowserPackageId property value. Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.
      Returns:
      a String
    • getDeployedAppCount

      @Nullable public Integer getDeployedAppCount()
      Gets the deployedAppCount property value. Count of apps to which the current policy is deployed.
      Returns:
      a Integer
    • getDeploymentSummary

      @Nullable public ManagedAppPolicyDeploymentSummary getDeploymentSummary()
      Gets the deploymentSummary property value. Navigation property to deployment summary of the configuration.
      Returns:
      a ManagedAppPolicyDeploymentSummary
    • getDisableAppEncryptionIfDeviceEncryptionIsEnabled

      @Nullable public Boolean getDisableAppEncryptionIfDeviceEncryptionIsEnabled()
      Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value. When this setting is enabled, app level encryption is disabled if device level encryption is enabled
      Returns:
      a Boolean
    • getEncryptAppData

      @Nullable public Boolean getEncryptAppData()
      Gets the encryptAppData property value. Indicates whether application data for managed apps should be encrypted
      Returns:
      a Boolean
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class TargetedManagedAppProtection
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getMinimumRequiredPatchVersion

      @Nullable public String getMinimumRequiredPatchVersion()
      Gets the minimumRequiredPatchVersion property value. Define the oldest required Android security patch level a user can have to gain secure access to the app.
      Returns:
      a String
    • getMinimumWarningPatchVersion

      @Nullable public String getMinimumWarningPatchVersion()
      Gets the minimumWarningPatchVersion property value. Define the oldest recommended Android security patch level a user can have for secure access to the app.
      Returns:
      a String
    • getScreenCaptureBlocked

      @Nullable public Boolean getScreenCaptureBlocked()
      Gets the screenCaptureBlocked property value. Indicates whether a managed user can take screen captures of managed apps
      Returns:
      a Boolean
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class TargetedManagedAppProtection
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setApps

      public void setApps(@Nullable List<ManagedMobileApp> value)
      Sets the apps property value. List of apps to which the policy is deployed.
      Parameters:
      value - Value to set for the apps property.
    • setCustomBrowserDisplayName

      public void setCustomBrowserDisplayName(@Nullable String value)
      Sets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.
      Parameters:
      value - Value to set for the customBrowserDisplayName property.
    • setCustomBrowserPackageId

      public void setCustomBrowserPackageId(@Nullable String value)
      Sets the customBrowserPackageId property value. Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.
      Parameters:
      value - Value to set for the customBrowserPackageId property.
    • setDeployedAppCount

      public void setDeployedAppCount(@Nullable Integer value)
      Sets the deployedAppCount property value. Count of apps to which the current policy is deployed.
      Parameters:
      value - Value to set for the deployedAppCount property.
    • setDeploymentSummary

      public void setDeploymentSummary(@Nullable ManagedAppPolicyDeploymentSummary value)
      Sets the deploymentSummary property value. Navigation property to deployment summary of the configuration.
      Parameters:
      value - Value to set for the deploymentSummary property.
    • setDisableAppEncryptionIfDeviceEncryptionIsEnabled

      public void setDisableAppEncryptionIfDeviceEncryptionIsEnabled(@Nullable Boolean value)
      Sets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value. When this setting is enabled, app level encryption is disabled if device level encryption is enabled
      Parameters:
      value - Value to set for the disableAppEncryptionIfDeviceEncryptionIsEnabled property.
    • setEncryptAppData

      public void setEncryptAppData(@Nullable Boolean value)
      Sets the encryptAppData property value. Indicates whether application data for managed apps should be encrypted
      Parameters:
      value - Value to set for the encryptAppData property.
    • setMinimumRequiredPatchVersion

      public void setMinimumRequiredPatchVersion(@Nullable String value)
      Sets the minimumRequiredPatchVersion property value. Define the oldest required Android security patch level a user can have to gain secure access to the app.
      Parameters:
      value - Value to set for the minimumRequiredPatchVersion property.
    • setMinimumWarningPatchVersion

      public void setMinimumWarningPatchVersion(@Nullable String value)
      Sets the minimumWarningPatchVersion property value. Define the oldest recommended Android security patch level a user can have for secure access to the app.
      Parameters:
      value - Value to set for the minimumWarningPatchVersion property.
    • setScreenCaptureBlocked

      public void setScreenCaptureBlocked(@Nullable Boolean value)
      Sets the screenCaptureBlocked property value. Indicates whether a managed user can take screen captures of managed apps
      Parameters:
      value - Value to set for the screenCaptureBlocked property.