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

      • allowedAndroidDeviceManufacturers

        protected String allowedAndroidDeviceManufacturers
      • allowedAndroidDeviceModels

        protected List<String> allowedAndroidDeviceModels
      • allowedAndroidDeviceModelsNextLink

        protected String allowedAndroidDeviceModelsNextLink
      • appActionIfAndroidSafetyNetAppsVerificationFailed

        protected ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed
      • appActionIfAndroidSafetyNetDeviceAttestationFailed

        protected ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed
      • approvedKeyboardsNextLink

        protected String approvedKeyboardsNextLink
      • biometricAuthenticationBlocked

        protected Boolean biometricAuthenticationBlocked
      • blockAfterCompanyPortalUpdateDeferralInDays

        protected Integer blockAfterCompanyPortalUpdateDeferralInDays
      • connectToVpnOnLaunch

        protected Boolean connectToVpnOnLaunch
      • customBrowserDisplayName

        protected String customBrowserDisplayName
      • customBrowserPackageId

        protected String customBrowserPackageId
      • customDialerAppDisplayName

        protected String customDialerAppDisplayName
      • customDialerAppPackageId

        protected String customDialerAppPackageId
      • deployedAppCount

        protected Integer deployedAppCount
      • deviceLockRequired

        protected Boolean deviceLockRequired
      • disableAppEncryptionIfDeviceEncryptionIsEnabled

        protected Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled
      • encryptAppData

        protected Boolean encryptAppData
      • exemptedAppPackagesNextLink

        protected String exemptedAppPackagesNextLink
      • keyboardsRestricted

        protected Boolean keyboardsRestricted
      • minimumRequiredCompanyPortalVersion

        protected String minimumRequiredCompanyPortalVersion
      • minimumRequiredPatchVersion

        protected String minimumRequiredPatchVersion
      • minimumWarningCompanyPortalVersion

        protected String minimumWarningCompanyPortalVersion
      • minimumWarningPatchVersion

        protected String minimumWarningPatchVersion
      • minimumWipeCompanyPortalVersion

        protected String minimumWipeCompanyPortalVersion
      • minimumWipePatchVersion

        protected String minimumWipePatchVersion
      • screenCaptureBlocked

        protected Boolean screenCaptureBlocked
      • warnAfterCompanyPortalUpdateDeferralInDays

        protected Integer warnAfterCompanyPortalUpdateDeferralInDays
      • wipeAfterCompanyPortalUpdateDeferralInDays

        protected Integer wipeAfterCompanyPortalUpdateDeferralInDays
    • 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
      • getAllowedAndroidDeviceManufacturers

        public Optional<String> getAllowedAndroidDeviceManufacturers()
        “Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work.”
        Returns:
        property allowedAndroidDeviceManufacturers
      • withAllowedAndroidDeviceManufacturers

        public AndroidManagedAppProtection withAllowedAndroidDeviceManufacturers​(String allowedAndroidDeviceManufacturers)
        Returns an immutable copy of this with just the allowedAndroidDeviceManufacturers 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.

        “Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getAllowedAndroidDeviceModels()
        “List of device models allowed, as a string, for the managed app to work.”
        Returns:
        property allowedAndroidDeviceModels
      • withAllowedAndroidDeviceModels

        public AndroidManagedAppProtection withAllowedAndroidDeviceModels​(List<String> allowedAndroidDeviceModels)
        Returns an immutable copy of this with just the allowedAndroidDeviceModels 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.

        “List of device models allowed, as a string, for the managed app to work.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getAllowedAndroidDeviceModels​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of device models allowed, as a string, for the managed app to work.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property allowedAndroidDeviceModels
      • getAppActionIfAndroidDeviceManufacturerNotAllowed

        public Optional<ManagedAppRemediationAction> getAppActionIfAndroidDeviceManufacturerNotAllowed()
        “Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed.”
        Returns:
        property appActionIfAndroidDeviceManufacturerNotAllowed
      • withAppActionIfAndroidDeviceManufacturerNotAllowed

        public AndroidManagedAppProtection withAppActionIfAndroidDeviceManufacturerNotAllowed​(ManagedAppRemediationAction appActionIfAndroidDeviceManufacturerNotAllowed)
        Returns an immutable copy of this with just the appActionIfAndroidDeviceManufacturerNotAllowed 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.

        “Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed.”

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

        public Optional<ManagedAppRemediationAction> getAppActionIfAndroidDeviceModelNotAllowed()
        “Defines a managed app behavior, either block or wipe, if the specified device model is not allowed.”
        Returns:
        property appActionIfAndroidDeviceModelNotAllowed
      • withAppActionIfAndroidDeviceModelNotAllowed

        public AndroidManagedAppProtection withAppActionIfAndroidDeviceModelNotAllowed​(ManagedAppRemediationAction appActionIfAndroidDeviceModelNotAllowed)
        Returns an immutable copy of this with just the appActionIfAndroidDeviceModelNotAllowed 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.

        “Defines a managed app behavior, either block or wipe, if the specified device model is not allowed.”

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

        public Optional<ManagedAppRemediationAction> getAppActionIfAndroidSafetyNetAppsVerificationFailed()
        “Defines a managed app behavior, either warn or block, if the specified Android App Verification requirement fails.”
        Returns:
        property appActionIfAndroidSafetyNetAppsVerificationFailed
      • withAppActionIfAndroidSafetyNetAppsVerificationFailed

        public AndroidManagedAppProtection withAppActionIfAndroidSafetyNetAppsVerificationFailed​(ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed)
        Returns an immutable copy of this with just the appActionIfAndroidSafetyNetAppsVerificationFailed 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.

        “Defines a managed app behavior, either warn or block, if the specified Android App Verification requirement fails.”

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

        public Optional<ManagedAppRemediationAction> getAppActionIfAndroidSafetyNetDeviceAttestationFailed()
        “Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirement fails.”
        Returns:
        property appActionIfAndroidSafetyNetDeviceAttestationFailed
      • withAppActionIfAndroidSafetyNetDeviceAttestationFailed

        public AndroidManagedAppProtection withAppActionIfAndroidSafetyNetDeviceAttestationFailed​(ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed)
        Returns an immutable copy of this with just the appActionIfAndroidSafetyNetDeviceAttestationFailed 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.

        “Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirement fails.”

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

        public Optional<ManagedAppRemediationAction> getAppActionIfDeviceLockNotSet()
        “Defines a managed app behavior, either warn, block or wipe, if the screen lock is required on android device but is not set.”
        Returns:
        property appActionIfDeviceLockNotSet
      • withAppActionIfDeviceLockNotSet

        public AndroidManagedAppProtection withAppActionIfDeviceLockNotSet​(ManagedAppRemediationAction appActionIfDeviceLockNotSet)
        Returns an immutable copy of this with just the appActionIfDeviceLockNotSet 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.

        “Defines a managed app behavior, either warn, block or wipe, if the screen lock is required on android device but is not set.”

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

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getApprovedKeyboards()
        “If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed. A key should be Android package id for a keyboard and value should be a friendly name”
        Returns:
        property approvedKeyboards
      • withApprovedKeyboards

        public AndroidManagedAppProtection withApprovedKeyboards​(List<KeyValuePair> approvedKeyboards)
        Returns an immutable copy of this with just the approvedKeyboards 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.

        “If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed. A key should be Android package id for a keyboard and value should be a friendly name”

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

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getApprovedKeyboards​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed. A key should be Android package id for a keyboard and value should be a friendly name”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property approvedKeyboards
      • getBiometricAuthenticationBlocked

        public Optional<Boolean> getBiometricAuthenticationBlocked()
        “Indicates whether use of the biometric authentication is allowed in place of a pin if PinRequired is set to True.”
        Returns:
        property biometricAuthenticationBlocked
      • withBiometricAuthenticationBlocked

        public AndroidManagedAppProtection withBiometricAuthenticationBlocked​(Boolean biometricAuthenticationBlocked)
        Returns an immutable copy of this with just the biometricAuthenticationBlocked 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 use of the biometric authentication is allowed in place of a pin if PinRequired is set to True.”

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

        public Optional<Integer> getBlockAfterCompanyPortalUpdateDeferralInDays()
        “Maximum number of days Company Portal update can be deferred on the device or app access will be blocked.”
        Returns:
        property blockAfterCompanyPortalUpdateDeferralInDays
      • withBlockAfterCompanyPortalUpdateDeferralInDays

        public AndroidManagedAppProtection withBlockAfterCompanyPortalUpdateDeferralInDays​(Integer blockAfterCompanyPortalUpdateDeferralInDays)
        Returns an immutable copy of this with just the blockAfterCompanyPortalUpdateDeferralInDays 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.

        “Maximum number of days Company Portal update can be deferred on the device or app access will be blocked.”

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

        public Optional<Boolean> getConnectToVpnOnLaunch()
        “Whether the app should connect to the configured VPN on launch.”
        Returns:
        property connectToVpnOnLaunch
      • withConnectToVpnOnLaunch

        public AndroidManagedAppProtection withConnectToVpnOnLaunch​(Boolean connectToVpnOnLaunch)
        Returns an immutable copy of this with just the connectToVpnOnLaunch 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.

        “Whether the app should connect to the configured VPN on launch.”

        Parameters:
        connectToVpnOnLaunch - new value of connectToVpnOnLaunch field (as defined in service metadata)
        Returns:
        immutable copy of this with just the connectToVpnOnLaunch field changed
      • 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
      • getCustomDialerAppDisplayName

        public Optional<String> getCustomDialerAppDisplayName()
        “Friendly name of a custom dialer app to click-to-open a phone number on Android.”
        Returns:
        property customDialerAppDisplayName
      • withCustomDialerAppDisplayName

        public AndroidManagedAppProtection withCustomDialerAppDisplayName​(String customDialerAppDisplayName)
        Returns an immutable copy of this with just the customDialerAppDisplayName 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 a custom dialer app to click-to-open a phone number on Android.”

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

        public Optional<String> getCustomDialerAppPackageId()
        “PackageId of a custom dialer app to click-to-open a phone number on Android.”
        Returns:
        property customDialerAppPackageId
      • withCustomDialerAppPackageId

        public AndroidManagedAppProtection withCustomDialerAppPackageId​(String customDialerAppPackageId)
        Returns an immutable copy of this with just the customDialerAppPackageId 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.

        “PackageId of a custom dialer app to click-to-open a phone number on Android.”

        Parameters:
        customDialerAppPackageId - new value of customDialerAppPackageId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the customDialerAppPackageId 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
      • getDeviceLockRequired

        public Optional<Boolean> getDeviceLockRequired()
        “Defines if any kind of lock must be required on android device”
        Returns:
        property deviceLockRequired
      • withDeviceLockRequired

        public AndroidManagedAppProtection withDeviceLockRequired​(Boolean deviceLockRequired)
        Returns an immutable copy of this with just the deviceLockRequired 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.

        “Defines if any kind of lock must be required on android device”

        Parameters:
        deviceLockRequired - new value of deviceLockRequired field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceLockRequired 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
      • getExemptedAppPackages

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getExemptedAppPackages()
        “App packages in this list will be exempt from the policy and will be able to receive data from managed apps.”
        Returns:
        property exemptedAppPackages
      • withExemptedAppPackages

        public AndroidManagedAppProtection withExemptedAppPackages​(List<KeyValuePair> exemptedAppPackages)
        Returns an immutable copy of this with just the exemptedAppPackages 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.

        “App packages in this list will be exempt from the policy and will be able to receive data from managed apps.”

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

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getExemptedAppPackages​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “App packages in this list will be exempt from the policy and will be able to receive data from managed apps.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property exemptedAppPackages
      • getKeyboardsRestricted

        public Optional<Boolean> getKeyboardsRestricted()
        “Indicates if keyboard restriction is enabled. If enabled list of approved keyboards must be provided as well.”
        Returns:
        property keyboardsRestricted
      • withKeyboardsRestricted

        public AndroidManagedAppProtection withKeyboardsRestricted​(Boolean keyboardsRestricted)
        Returns an immutable copy of this with just the keyboardsRestricted 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 if keyboard restriction is enabled. If enabled list of approved keyboards must be provided as well.”

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

        public Optional<String> getMinimumRequiredCompanyPortalVersion()
        “Minimum version of the Company portal that must be installed on the device or app access will be blocked”
        Returns:
        property minimumRequiredCompanyPortalVersion
      • withMinimumRequiredCompanyPortalVersion

        public AndroidManagedAppProtection withMinimumRequiredCompanyPortalVersion​(String minimumRequiredCompanyPortalVersion)
        Returns an immutable copy of this with just the minimumRequiredCompanyPortalVersion 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.

        “Minimum version of the Company portal that must be installed on the device or app access will be blocked”

        Parameters:
        minimumRequiredCompanyPortalVersion - new value of minimumRequiredCompanyPortalVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the minimumRequiredCompanyPortalVersion 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
      • getMinimumWarningCompanyPortalVersion

        public Optional<String> getMinimumWarningCompanyPortalVersion()
        “Minimum version of the Company portal that must be installed on the device or the user will receive a warning”
        Returns:
        property minimumWarningCompanyPortalVersion
      • withMinimumWarningCompanyPortalVersion

        public AndroidManagedAppProtection withMinimumWarningCompanyPortalVersion​(String minimumWarningCompanyPortalVersion)
        Returns an immutable copy of this with just the minimumWarningCompanyPortalVersion 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.

        “Minimum version of the Company portal that must be installed on the device or the user will receive a warning”

        Parameters:
        minimumWarningCompanyPortalVersion - new value of minimumWarningCompanyPortalVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the minimumWarningCompanyPortalVersion 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
      • getMinimumWipeCompanyPortalVersion

        public Optional<String> getMinimumWipeCompanyPortalVersion()
        “Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped”
        Returns:
        property minimumWipeCompanyPortalVersion
      • withMinimumWipeCompanyPortalVersion

        public AndroidManagedAppProtection withMinimumWipeCompanyPortalVersion​(String minimumWipeCompanyPortalVersion)
        Returns an immutable copy of this with just the minimumWipeCompanyPortalVersion 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.

        “Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped”

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

        public Optional<String> getMinimumWipePatchVersion()
        “Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data.”
        Returns:
        property minimumWipePatchVersion
      • withMinimumWipePatchVersion

        public AndroidManagedAppProtection withMinimumWipePatchVersion​(String minimumWipePatchVersion)
        Returns an immutable copy of this with just the minimumWipePatchVersion 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.

        “Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data.”

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

        public Optional<AndroidManagedAppSafetyNetAppsVerificationType> getRequiredAndroidSafetyNetAppsVerificationType()
        “Defines the Android SafetyNet Apps Verification requirement for a managed app to work.”
        Returns:
        property requiredAndroidSafetyNetAppsVerificationType
      • withRequiredAndroidSafetyNetAppsVerificationType

        public AndroidManagedAppProtection withRequiredAndroidSafetyNetAppsVerificationType​(AndroidManagedAppSafetyNetAppsVerificationType requiredAndroidSafetyNetAppsVerificationType)
        Returns an immutable copy of this with just the requiredAndroidSafetyNetAppsVerificationType 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.

        “Defines the Android SafetyNet Apps Verification requirement for a managed app to work.”

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

        public Optional<AndroidManagedAppSafetyNetDeviceAttestationType> getRequiredAndroidSafetyNetDeviceAttestationType()
        “Defines the Android SafetyNet Device Attestation requirement for a managed app to work.”
        Returns:
        property requiredAndroidSafetyNetDeviceAttestationType
      • withRequiredAndroidSafetyNetDeviceAttestationType

        public AndroidManagedAppProtection withRequiredAndroidSafetyNetDeviceAttestationType​(AndroidManagedAppSafetyNetDeviceAttestationType requiredAndroidSafetyNetDeviceAttestationType)
        Returns an immutable copy of this with just the requiredAndroidSafetyNetDeviceAttestationType 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.

        “Defines the Android SafetyNet Device Attestation requirement for a managed app to work.”

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

        public Optional<AndroidManagedAppSafetyNetEvaluationType> getRequiredAndroidSafetyNetEvaluationType()
        “Defines the Android SafetyNet evaluation type requirement for a managed app to work.”
        Returns:
        property requiredAndroidSafetyNetEvaluationType
      • withRequiredAndroidSafetyNetEvaluationType

        public AndroidManagedAppProtection withRequiredAndroidSafetyNetEvaluationType​(AndroidManagedAppSafetyNetEvaluationType requiredAndroidSafetyNetEvaluationType)
        Returns an immutable copy of this with just the requiredAndroidSafetyNetEvaluationType 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.

        “Defines the Android SafetyNet evaluation type requirement for a managed app to work.”

        Parameters:
        requiredAndroidSafetyNetEvaluationType - new value of requiredAndroidSafetyNetEvaluationType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the requiredAndroidSafetyNetEvaluationType 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
      • getWarnAfterCompanyPortalUpdateDeferralInDays

        public Optional<Integer> getWarnAfterCompanyPortalUpdateDeferralInDays()
        “Maximum number of days Company Portal update can be deferred on the device or the user will receive the warning”
        Returns:
        property warnAfterCompanyPortalUpdateDeferralInDays
      • withWarnAfterCompanyPortalUpdateDeferralInDays

        public AndroidManagedAppProtection withWarnAfterCompanyPortalUpdateDeferralInDays​(Integer warnAfterCompanyPortalUpdateDeferralInDays)
        Returns an immutable copy of this with just the warnAfterCompanyPortalUpdateDeferralInDays 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.

        “Maximum number of days Company Portal update can be deferred on the device or the user will receive the warning”

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

        public Optional<Integer> getWipeAfterCompanyPortalUpdateDeferralInDays()
        “Maximum number of days Company Portal update can be deferred on the device or the company data on the app will be wiped”
        Returns:
        property wipeAfterCompanyPortalUpdateDeferralInDays
      • withWipeAfterCompanyPortalUpdateDeferralInDays

        public AndroidManagedAppProtection withWipeAfterCompanyPortalUpdateDeferralInDays​(Integer wipeAfterCompanyPortalUpdateDeferralInDays)
        Returns an immutable copy of this with just the wipeAfterCompanyPortalUpdateDeferralInDays 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.

        “Maximum number of days Company Portal update can be deferred on the device or the company data on the app will be wiped”

        Parameters:
        wipeAfterCompanyPortalUpdateDeferralInDays - new value of wipeAfterCompanyPortalUpdateDeferralInDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the wipeAfterCompanyPortalUpdateDeferralInDays 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