Class AndroidGeneralDeviceConfiguration.Builder

    • Method Detail

      • appsBlockClipboardSharing

        public AndroidGeneralDeviceConfiguration.Builder appsBlockClipboardSharing​(Boolean appsBlockClipboardSharing)
        “Indicates whether or not to block clipboard sharing to copy and paste between applications.”
        Parameters:
        appsBlockClipboardSharing - value of appsBlockClipboardSharing property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appsBlockCopyPaste

        public AndroidGeneralDeviceConfiguration.Builder appsBlockCopyPaste​(Boolean appsBlockCopyPaste)
        “Indicates whether or not to block copy and paste within applications.”
        Parameters:
        appsBlockCopyPaste - value of appsBlockCopyPaste property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appsBlockYouTube

        public AndroidGeneralDeviceConfiguration.Builder appsBlockYouTube​(Boolean appsBlockYouTube)
        “Indicates whether or not to block the YouTube app.”
        Parameters:
        appsBlockYouTube - value of appsBlockYouTube property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appsHideList

        public AndroidGeneralDeviceConfiguration.Builder appsHideList​(List<AppListItem> appsHideList)
        “List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements.”
        Parameters:
        appsHideList - value of appsHideList property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appsHideList

        public AndroidGeneralDeviceConfiguration.Builder appsHideList​(AppListItem... appsHideList)
        “List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements.”
        Parameters:
        appsHideList - value of appsHideList property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appsHideListNextLink

        public AndroidGeneralDeviceConfiguration.Builder appsHideListNextLink​(String appsHideListNextLink)
        “List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements.”
        Parameters:
        appsHideListNextLink - value of appsHideList@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appsInstallAllowList

        public AndroidGeneralDeviceConfiguration.Builder appsInstallAllowList​(List<AppListItem> appsInstallAllowList)
        “List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements.”
        Parameters:
        appsInstallAllowList - value of appsInstallAllowList property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appsInstallAllowList

        public AndroidGeneralDeviceConfiguration.Builder appsInstallAllowList​(AppListItem... appsInstallAllowList)
        “List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements.”
        Parameters:
        appsInstallAllowList - value of appsInstallAllowList property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appsInstallAllowListNextLink

        public AndroidGeneralDeviceConfiguration.Builder appsInstallAllowListNextLink​(String appsInstallAllowListNextLink)
        “List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements.”
        Parameters:
        appsInstallAllowListNextLink - value of appsInstallAllowList@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appsLaunchBlockList

        public AndroidGeneralDeviceConfiguration.Builder appsLaunchBlockList​(List<AppListItem> appsLaunchBlockList)
        “List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements.”
        Parameters:
        appsLaunchBlockList - value of appsLaunchBlockList property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appsLaunchBlockList

        public AndroidGeneralDeviceConfiguration.Builder appsLaunchBlockList​(AppListItem... appsLaunchBlockList)
        “List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements.”
        Parameters:
        appsLaunchBlockList - value of appsLaunchBlockList property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • appsLaunchBlockListNextLink

        public AndroidGeneralDeviceConfiguration.Builder appsLaunchBlockListNextLink​(String appsLaunchBlockListNextLink)
        “List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements.”
        Parameters:
        appsLaunchBlockListNextLink - value of appsLaunchBlockList@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • bluetoothBlocked

        public AndroidGeneralDeviceConfiguration.Builder bluetoothBlocked​(Boolean bluetoothBlocked)
        “Indicates whether or not to block Bluetooth.”
        Parameters:
        bluetoothBlocked - value of bluetoothBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • cameraBlocked

        public AndroidGeneralDeviceConfiguration.Builder cameraBlocked​(Boolean cameraBlocked)
        “Indicates whether or not to block the use of the camera.”
        Parameters:
        cameraBlocked - value of cameraBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • cellularBlockDataRoaming

        public AndroidGeneralDeviceConfiguration.Builder cellularBlockDataRoaming​(Boolean cellularBlockDataRoaming)
        “Indicates whether or not to block data roaming.”
        Parameters:
        cellularBlockDataRoaming - value of cellularBlockDataRoaming property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • cellularBlockMessaging

        public AndroidGeneralDeviceConfiguration.Builder cellularBlockMessaging​(Boolean cellularBlockMessaging)
        “Indicates whether or not to block SMS/MMS messaging.”
        Parameters:
        cellularBlockMessaging - value of cellularBlockMessaging property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • cellularBlockVoiceRoaming

        public AndroidGeneralDeviceConfiguration.Builder cellularBlockVoiceRoaming​(Boolean cellularBlockVoiceRoaming)
        “Indicates whether or not to block voice roaming.”
        Parameters:
        cellularBlockVoiceRoaming - value of cellularBlockVoiceRoaming property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • cellularBlockWiFiTethering

        public AndroidGeneralDeviceConfiguration.Builder cellularBlockWiFiTethering​(Boolean cellularBlockWiFiTethering)
        “Indicates whether or not to block syncing Wi-Fi tethering.”
        Parameters:
        cellularBlockWiFiTethering - value of cellularBlockWiFiTethering property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • compliantAppListType

        public AndroidGeneralDeviceConfiguration.Builder compliantAppListType​(AppListType compliantAppListType)
        “Type of list that is in the CompliantAppsList.”
        Parameters:
        compliantAppListType - value of compliantAppListType property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • compliantAppsList

        public AndroidGeneralDeviceConfiguration.Builder compliantAppsList​(List<AppListItem> compliantAppsList)
        “List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”
        Parameters:
        compliantAppsList - value of compliantAppsList property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • compliantAppsList

        public AndroidGeneralDeviceConfiguration.Builder compliantAppsList​(AppListItem... compliantAppsList)
        “List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”
        Parameters:
        compliantAppsList - value of compliantAppsList property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • compliantAppsListNextLink

        public AndroidGeneralDeviceConfiguration.Builder compliantAppsListNextLink​(String compliantAppsListNextLink)
        “List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”
        Parameters:
        compliantAppsListNextLink - value of compliantAppsList@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • deviceSharingAllowed

        public AndroidGeneralDeviceConfiguration.Builder deviceSharingAllowed​(Boolean deviceSharingAllowed)
        “Indicates whether or not to allow device sharing mode.”
        Parameters:
        deviceSharingAllowed - value of deviceSharingAllowed property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • diagnosticDataBlockSubmission

        public AndroidGeneralDeviceConfiguration.Builder diagnosticDataBlockSubmission​(Boolean diagnosticDataBlockSubmission)
        “Indicates whether or not to block diagnostic data submission.”
        Parameters:
        diagnosticDataBlockSubmission - value of diagnosticDataBlockSubmission property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • factoryResetBlocked

        public AndroidGeneralDeviceConfiguration.Builder factoryResetBlocked​(Boolean factoryResetBlocked)
        “Indicates whether or not to block user performing a factory reset.”
        Parameters:
        factoryResetBlocked - value of factoryResetBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • googleAccountBlockAutoSync

        public AndroidGeneralDeviceConfiguration.Builder googleAccountBlockAutoSync​(Boolean googleAccountBlockAutoSync)
        “Indicates whether or not to block Google account auto sync.”
        Parameters:
        googleAccountBlockAutoSync - value of googleAccountBlockAutoSync property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • googlePlayStoreBlocked

        public AndroidGeneralDeviceConfiguration.Builder googlePlayStoreBlocked​(Boolean googlePlayStoreBlocked)
        “Indicates whether or not to block the Google Play store.”
        Parameters:
        googlePlayStoreBlocked - value of googlePlayStoreBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • kioskModeApps

        public AndroidGeneralDeviceConfiguration.Builder kioskModeApps​(List<AppListItem> kioskModeApps)
        “A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements.”
        Parameters:
        kioskModeApps - value of kioskModeApps property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • kioskModeApps

        public AndroidGeneralDeviceConfiguration.Builder kioskModeApps​(AppListItem... kioskModeApps)
        “A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements.”
        Parameters:
        kioskModeApps - value of kioskModeApps property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • kioskModeAppsNextLink

        public AndroidGeneralDeviceConfiguration.Builder kioskModeAppsNextLink​(String kioskModeAppsNextLink)
        “A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements.”
        Parameters:
        kioskModeAppsNextLink - value of kioskModeApps@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • kioskModeBlockSleepButton

        public AndroidGeneralDeviceConfiguration.Builder kioskModeBlockSleepButton​(Boolean kioskModeBlockSleepButton)
        “Indicates whether or not to block the screen sleep button while in Kiosk Mode.”
        Parameters:
        kioskModeBlockSleepButton - value of kioskModeBlockSleepButton property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • kioskModeBlockVolumeButtons

        public AndroidGeneralDeviceConfiguration.Builder kioskModeBlockVolumeButtons​(Boolean kioskModeBlockVolumeButtons)
        “Indicates whether or not to block the volume buttons while in Kiosk Mode.”
        Parameters:
        kioskModeBlockVolumeButtons - value of kioskModeBlockVolumeButtons property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • locationServicesBlocked

        public AndroidGeneralDeviceConfiguration.Builder locationServicesBlocked​(Boolean locationServicesBlocked)
        “Indicates whether or not to block location services.”
        Parameters:
        locationServicesBlocked - value of locationServicesBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • nfcBlocked

        public AndroidGeneralDeviceConfiguration.Builder nfcBlocked​(Boolean nfcBlocked)
        “Indicates whether or not to block Near-Field Communication.”
        Parameters:
        nfcBlocked - value of nfcBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordBlockFingerprintUnlock

        public AndroidGeneralDeviceConfiguration.Builder passwordBlockFingerprintUnlock​(Boolean passwordBlockFingerprintUnlock)
        “Indicates whether or not to block fingerprint unlock.”
        Parameters:
        passwordBlockFingerprintUnlock - value of passwordBlockFingerprintUnlock property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordBlockTrustAgents

        public AndroidGeneralDeviceConfiguration.Builder passwordBlockTrustAgents​(Boolean passwordBlockTrustAgents)
        “Indicates whether or not to block Smart Lock and other trust agents.”
        Parameters:
        passwordBlockTrustAgents - value of passwordBlockTrustAgents property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordExpirationDays

        public AndroidGeneralDeviceConfiguration.Builder passwordExpirationDays​(Integer passwordExpirationDays)
        “Number of days before the password expires. Valid values 1 to 365”
        Parameters:
        passwordExpirationDays - value of passwordExpirationDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordMinimumLength

        public AndroidGeneralDeviceConfiguration.Builder passwordMinimumLength​(Integer passwordMinimumLength)
        “Minimum length of passwords. Valid values 4 to 16”
        Parameters:
        passwordMinimumLength - value of passwordMinimumLength property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordMinutesOfInactivityBeforeScreenTimeout

        public AndroidGeneralDeviceConfiguration.Builder passwordMinutesOfInactivityBeforeScreenTimeout​(Integer passwordMinutesOfInactivityBeforeScreenTimeout)
        “Minutes of inactivity before the screen times out.”
        Parameters:
        passwordMinutesOfInactivityBeforeScreenTimeout - value of passwordMinutesOfInactivityBeforeScreenTimeout property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordPreviousPasswordBlockCount

        public AndroidGeneralDeviceConfiguration.Builder passwordPreviousPasswordBlockCount​(Integer passwordPreviousPasswordBlockCount)
        “Number of previous passwords to block. Valid values 0 to 24”
        Parameters:
        passwordPreviousPasswordBlockCount - value of passwordPreviousPasswordBlockCount property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordRequired

        public AndroidGeneralDeviceConfiguration.Builder passwordRequired​(Boolean passwordRequired)
        “Indicates whether or not to require a password.”
        Parameters:
        passwordRequired - value of passwordRequired property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordSignInFailureCountBeforeFactoryReset

        public AndroidGeneralDeviceConfiguration.Builder passwordSignInFailureCountBeforeFactoryReset​(Integer passwordSignInFailureCountBeforeFactoryReset)
        “Number of sign in failures allowed before factory reset. Valid values 1 to 16”
        Parameters:
        passwordSignInFailureCountBeforeFactoryReset - value of passwordSignInFailureCountBeforeFactoryReset property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • powerOffBlocked

        public AndroidGeneralDeviceConfiguration.Builder powerOffBlocked​(Boolean powerOffBlocked)
        “Indicates whether or not to block powering off the device.”
        Parameters:
        powerOffBlocked - value of powerOffBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • screenCaptureBlocked

        public AndroidGeneralDeviceConfiguration.Builder screenCaptureBlocked​(Boolean screenCaptureBlocked)
        “Indicates whether or not to block screenshots.”
        Parameters:
        screenCaptureBlocked - value of screenCaptureBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • securityRequireVerifyApps

        public AndroidGeneralDeviceConfiguration.Builder securityRequireVerifyApps​(Boolean securityRequireVerifyApps)
        “Require the Android Verify apps feature is turned on.”
        Parameters:
        securityRequireVerifyApps - value of securityRequireVerifyApps property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • storageBlockGoogleBackup

        public AndroidGeneralDeviceConfiguration.Builder storageBlockGoogleBackup​(Boolean storageBlockGoogleBackup)
        “Indicates whether or not to block Google Backup.”
        Parameters:
        storageBlockGoogleBackup - value of storageBlockGoogleBackup property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • storageBlockRemovableStorage

        public AndroidGeneralDeviceConfiguration.Builder storageBlockRemovableStorage​(Boolean storageBlockRemovableStorage)
        “Indicates whether or not to block removable storage usage.”
        Parameters:
        storageBlockRemovableStorage - value of storageBlockRemovableStorage property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • storageRequireDeviceEncryption

        public AndroidGeneralDeviceConfiguration.Builder storageRequireDeviceEncryption​(Boolean storageRequireDeviceEncryption)
        “Indicates whether or not to require device encryption.”
        Parameters:
        storageRequireDeviceEncryption - value of storageRequireDeviceEncryption property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • storageRequireRemovableStorageEncryption

        public AndroidGeneralDeviceConfiguration.Builder storageRequireRemovableStorageEncryption​(Boolean storageRequireRemovableStorageEncryption)
        “Indicates whether or not to require removable storage encryption.”
        Parameters:
        storageRequireRemovableStorageEncryption - value of storageRequireRemovableStorageEncryption property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • voiceAssistantBlocked

        public AndroidGeneralDeviceConfiguration.Builder voiceAssistantBlocked​(Boolean voiceAssistantBlocked)
        “Indicates whether or not to block the use of the Voice Assistant.”
        Parameters:
        voiceAssistantBlocked - value of voiceAssistantBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • voiceDialingBlocked

        public AndroidGeneralDeviceConfiguration.Builder voiceDialingBlocked​(Boolean voiceDialingBlocked)
        “Indicates whether or not to block voice dialing.”
        Parameters:
        voiceDialingBlocked - value of voiceDialingBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • webBrowserBlockAutofill

        public AndroidGeneralDeviceConfiguration.Builder webBrowserBlockAutofill​(Boolean webBrowserBlockAutofill)
        “Indicates whether or not to block the web browser's auto fill feature.”
        Parameters:
        webBrowserBlockAutofill - value of webBrowserBlockAutofill property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • webBrowserBlocked

        public AndroidGeneralDeviceConfiguration.Builder webBrowserBlocked​(Boolean webBrowserBlocked)
        “Indicates whether or not to block the web browser.”
        Parameters:
        webBrowserBlocked - value of webBrowserBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • webBrowserBlockJavaScript

        public AndroidGeneralDeviceConfiguration.Builder webBrowserBlockJavaScript​(Boolean webBrowserBlockJavaScript)
        “Indicates whether or not to block JavaScript within the web browser.”
        Parameters:
        webBrowserBlockJavaScript - value of webBrowserBlockJavaScript property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • webBrowserBlockPopups

        public AndroidGeneralDeviceConfiguration.Builder webBrowserBlockPopups​(Boolean webBrowserBlockPopups)
        “Indicates whether or not to block popups within the web browser.”
        Parameters:
        webBrowserBlockPopups - value of webBrowserBlockPopups property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • webBrowserCookieSettings

        public AndroidGeneralDeviceConfiguration.Builder webBrowserCookieSettings​(WebBrowserCookieSettings webBrowserCookieSettings)
        “Cookie settings within the web browser.”
        Parameters:
        webBrowserCookieSettings - value of webBrowserCookieSettings property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • wiFiBlocked

        public AndroidGeneralDeviceConfiguration.Builder wiFiBlocked​(Boolean wiFiBlocked)
        “Indicates whether or not to block syncing Wi-Fi.”
        Parameters:
        wiFiBlocked - value of wiFiBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)