Class AndroidManagedAppProtection

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class AndroidManagedAppProtection
    extends TargetedManagedAppProtection
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Policy used to configure detailed management settings targeted to specific security groups and for a specified set of apps on an Android device”
    • Field Detail

      • customBrowserDisplayName

        protected String customBrowserDisplayName
      • customBrowserPackageId

        protected String customBrowserPackageId
      • deployedAppCount

        protected Integer deployedAppCount
      • disableAppEncryptionIfDeviceEncryptionIsEnabled

        protected Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled
      • encryptAppData

        protected Boolean encryptAppData
      • minimumRequiredPatchVersion

        protected String minimumRequiredPatchVersion
      • minimumWarningPatchVersion

        protected String minimumWarningPatchVersion
      • screenCaptureBlocked

        protected Boolean screenCaptureBlocked
    • Constructor Detail

      • AndroidManagedAppProtection

        protected AndroidManagedAppProtection()
    • Method Detail

      • builderAndroidManagedAppProtection

        public static AndroidManagedAppProtection.Builder builderAndroidManagedAppProtection()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class TargetedManagedAppProtection
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class TargetedManagedAppProtection
      • getCustomBrowserDisplayName

        public Optional<String> getCustomBrowserDisplayName()
        “Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”
        Returns:
        property customBrowserDisplayName
      • withCustomBrowserDisplayName

        public AndroidManagedAppProtection withCustomBrowserDisplayName​(String customBrowserDisplayName)
        Returns an immutable copy of this with just the customBrowserDisplayName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”

        Parameters:
        customBrowserDisplayName - new value of customBrowserDisplayName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the customBrowserDisplayName field changed
      • getCustomBrowserPackageId

        public Optional<String> getCustomBrowserPackageId()
        “Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”
        Returns:
        property customBrowserPackageId
      • withCustomBrowserPackageId

        public AndroidManagedAppProtection withCustomBrowserPackageId​(String customBrowserPackageId)
        Returns an immutable copy of this with just the customBrowserPackageId field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”

        Parameters:
        customBrowserPackageId - new value of customBrowserPackageId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the customBrowserPackageId field changed
      • getDeployedAppCount

        public Optional<Integer> getDeployedAppCount()
        “Count of apps to which the current policy is deployed.”
        Returns:
        property deployedAppCount
      • withDeployedAppCount

        public AndroidManagedAppProtection withDeployedAppCount​(Integer deployedAppCount)
        Returns an immutable copy of this with just the deployedAppCount field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Count of apps to which the current policy is deployed.”

        Parameters:
        deployedAppCount - new value of deployedAppCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deployedAppCount field changed
      • getDisableAppEncryptionIfDeviceEncryptionIsEnabled

        public Optional<Boolean> getDisableAppEncryptionIfDeviceEncryptionIsEnabled()
        “When this setting is enabled, app level encryption is disabled if device level encryption is enabled”
        Returns:
        property disableAppEncryptionIfDeviceEncryptionIsEnabled
      • withDisableAppEncryptionIfDeviceEncryptionIsEnabled

        public AndroidManagedAppProtection withDisableAppEncryptionIfDeviceEncryptionIsEnabled​(Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled)
        Returns an immutable copy of this with just the disableAppEncryptionIfDeviceEncryptionIsEnabled field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “When this setting is enabled, app level encryption is disabled if device level encryption is enabled”

        Parameters:
        disableAppEncryptionIfDeviceEncryptionIsEnabled - new value of disableAppEncryptionIfDeviceEncryptionIsEnabled field (as defined in service metadata)
        Returns:
        immutable copy of this with just the disableAppEncryptionIfDeviceEncryptionIsEnabled field changed
      • getEncryptAppData

        public Optional<Boolean> getEncryptAppData()
        “Indicates whether application data for managed apps should be encrypted”
        Returns:
        property encryptAppData
      • withEncryptAppData

        public AndroidManagedAppProtection withEncryptAppData​(Boolean encryptAppData)
        Returns an immutable copy of this with just the encryptAppData field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Indicates whether application data for managed apps should be encrypted”

        Parameters:
        encryptAppData - new value of encryptAppData field (as defined in service metadata)
        Returns:
        immutable copy of this with just the encryptAppData field changed
      • getMinimumRequiredPatchVersion

        public Optional<String> getMinimumRequiredPatchVersion()
        “Define the oldest required Android security patch level a user can have to gain secure access to the app.”
        Returns:
        property minimumRequiredPatchVersion
      • withMinimumRequiredPatchVersion

        public AndroidManagedAppProtection withMinimumRequiredPatchVersion​(String minimumRequiredPatchVersion)
        Returns an immutable copy of this with just the minimumRequiredPatchVersion field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Define the oldest required Android security patch level a user can have to gain secure access to the app.”

        Parameters:
        minimumRequiredPatchVersion - new value of minimumRequiredPatchVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the minimumRequiredPatchVersion field changed
      • getMinimumWarningPatchVersion

        public Optional<String> getMinimumWarningPatchVersion()
        “Define the oldest recommended Android security patch level a user can have for secure access to the app.”
        Returns:
        property minimumWarningPatchVersion
      • withMinimumWarningPatchVersion

        public AndroidManagedAppProtection withMinimumWarningPatchVersion​(String minimumWarningPatchVersion)
        Returns an immutable copy of this with just the minimumWarningPatchVersion field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Define the oldest recommended Android security patch level a user can have for secure access to the app.”

        Parameters:
        minimumWarningPatchVersion - new value of minimumWarningPatchVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the minimumWarningPatchVersion field changed
      • getScreenCaptureBlocked

        public Optional<Boolean> getScreenCaptureBlocked()
        “Indicates whether a managed user can take screen captures of managed apps”
        Returns:
        property screenCaptureBlocked
      • withScreenCaptureBlocked

        public AndroidManagedAppProtection withScreenCaptureBlocked​(Boolean screenCaptureBlocked)
        Returns an immutable copy of this with just the screenCaptureBlocked field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Indicates whether a managed user can take screen captures of managed apps”

        Parameters:
        screenCaptureBlocked - new value of screenCaptureBlocked field (as defined in service metadata)
        Returns:
        immutable copy of this with just the screenCaptureBlocked field changed
      • getDeploymentSummary

        public ManagedAppPolicyDeploymentSummaryRequest getDeploymentSummary()
        “Navigation property to deployment summary of the configuration.”
        Returns:
        navigational property deploymentSummary
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class TargetedManagedAppProtection
      • patch

        public AndroidManagedAppProtection patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class TargetedManagedAppProtection
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public AndroidManagedAppProtection put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class TargetedManagedAppProtection
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected