Class AndroidForWorkGeneralDeviceConfiguration.Builder

    • Method Detail

      • passwordBlockFaceUnlock

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

        public AndroidForWorkGeneralDeviceConfiguration.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)
      • passwordBlockIrisUnlock

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

        public AndroidForWorkGeneralDeviceConfiguration.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 AndroidForWorkGeneralDeviceConfiguration.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 AndroidForWorkGeneralDeviceConfiguration.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 AndroidForWorkGeneralDeviceConfiguration.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 AndroidForWorkGeneralDeviceConfiguration.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)
      • passwordSignInFailureCountBeforeFactoryReset

        public AndroidForWorkGeneralDeviceConfiguration.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)
      • securityRequireVerifyApps

        public AndroidForWorkGeneralDeviceConfiguration.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)
      • vpnAlwaysOnPackageIdentifier

        public AndroidForWorkGeneralDeviceConfiguration.Builder vpnAlwaysOnPackageIdentifier​(String vpnAlwaysOnPackageIdentifier)
        “Enable lockdown mode for always-on VPN.”
        Parameters:
        vpnAlwaysOnPackageIdentifier - value of vpnAlwaysOnPackageIdentifier property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • vpnEnableAlwaysOnLockdownMode

        public AndroidForWorkGeneralDeviceConfiguration.Builder vpnEnableAlwaysOnLockdownMode​(Boolean vpnEnableAlwaysOnLockdownMode)
        “Enable lockdown mode for always-on VPN.”
        Parameters:
        vpnEnableAlwaysOnLockdownMode - value of vpnEnableAlwaysOnLockdownMode property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileAllowWidgets

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfileAllowWidgets​(Boolean workProfileAllowWidgets)
        “Allow widgets from work profile apps.”
        Parameters:
        workProfileAllowWidgets - value of workProfileAllowWidgets property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockAddingAccounts

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfileBlockAddingAccounts​(Boolean workProfileBlockAddingAccounts)
        “Block users from adding/removing accounts in work profile.”
        Parameters:
        workProfileBlockAddingAccounts - value of workProfileBlockAddingAccounts property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockCamera

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfileBlockCamera​(Boolean workProfileBlockCamera)
        “Block work profile camera.”
        Parameters:
        workProfileBlockCamera - value of workProfileBlockCamera property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockCrossProfileCallerId

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfileBlockCrossProfileCallerId​(Boolean workProfileBlockCrossProfileCallerId)
        “Block display work profile caller ID in personal profile.”
        Parameters:
        workProfileBlockCrossProfileCallerId - value of workProfileBlockCrossProfileCallerId property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockCrossProfileContactsSearch

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfileBlockCrossProfileContactsSearch​(Boolean workProfileBlockCrossProfileContactsSearch)
        “Block work profile contacts availability in personal profile.”
        Parameters:
        workProfileBlockCrossProfileContactsSearch - value of workProfileBlockCrossProfileContactsSearch property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockCrossProfileCopyPaste

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfileBlockCrossProfileCopyPaste​(Boolean workProfileBlockCrossProfileCopyPaste)
        “Boolean that indicates if the setting disallow cross profile copy/paste is enabled.”
        Parameters:
        workProfileBlockCrossProfileCopyPaste - value of workProfileBlockCrossProfileCopyPaste property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockNotificationsWhileDeviceLocked

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfileBlockNotificationsWhileDeviceLocked​(Boolean workProfileBlockNotificationsWhileDeviceLocked)
        “Indicates whether or not to block notifications while device locked.”
        Parameters:
        workProfileBlockNotificationsWhileDeviceLocked - value of workProfileBlockNotificationsWhileDeviceLocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockPersonalAppInstallsFromUnknownSources

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfileBlockPersonalAppInstallsFromUnknownSources​(Boolean workProfileBlockPersonalAppInstallsFromUnknownSources)
        “Prevent app installations from unknown sources in the personal profile.”
        Parameters:
        workProfileBlockPersonalAppInstallsFromUnknownSources - value of workProfileBlockPersonalAppInstallsFromUnknownSources property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockScreenCapture

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfileBlockScreenCapture​(Boolean workProfileBlockScreenCapture)
        “Block screen capture in work profile.”
        Parameters:
        workProfileBlockScreenCapture - value of workProfileBlockScreenCapture property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBluetoothEnableContactSharing

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfileBluetoothEnableContactSharing​(Boolean workProfileBluetoothEnableContactSharing)
        “Allow bluetooth devices to access enterprise contacts.”
        Parameters:
        workProfileBluetoothEnableContactSharing - value of workProfileBluetoothEnableContactSharing property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordBlockFaceUnlock

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfilePasswordBlockFaceUnlock​(Boolean workProfilePasswordBlockFaceUnlock)
        “Indicates whether or not to block face unlock for work profile.”
        Parameters:
        workProfilePasswordBlockFaceUnlock - value of workProfilePasswordBlockFaceUnlock property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordBlockFingerprintUnlock

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

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfilePasswordBlockIrisUnlock​(Boolean workProfilePasswordBlockIrisUnlock)
        “Indicates whether or not to block iris unlock for work profile.”
        Parameters:
        workProfilePasswordBlockIrisUnlock - value of workProfilePasswordBlockIrisUnlock property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordBlockTrustAgents

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

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

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfilePasswordMinimumLength​(Integer workProfilePasswordMinimumLength)
        “Minimum length of work profile password. Valid values 4 to 16”
        Parameters:
        workProfilePasswordMinimumLength - value of workProfilePasswordMinimumLength property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinLetterCharacters

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfilePasswordMinLetterCharacters​(Integer workProfilePasswordMinLetterCharacters)
        “Minimum # of letter characters required in work profile password. Valid values 1 to 10”
        Parameters:
        workProfilePasswordMinLetterCharacters - value of workProfilePasswordMinLetterCharacters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinLowerCaseCharacters

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfilePasswordMinLowerCaseCharacters​(Integer workProfilePasswordMinLowerCaseCharacters)
        “Minimum # of lower-case characters required in work profile password. Valid values 1 to 10”
        Parameters:
        workProfilePasswordMinLowerCaseCharacters - value of workProfilePasswordMinLowerCaseCharacters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinNonLetterCharacters

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfilePasswordMinNonLetterCharacters​(Integer workProfilePasswordMinNonLetterCharacters)
        “Minimum # of non-letter characters required in work profile password. Valid values 1 to 10”
        Parameters:
        workProfilePasswordMinNonLetterCharacters - value of workProfilePasswordMinNonLetterCharacters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinNumericCharacters

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfilePasswordMinNumericCharacters​(Integer workProfilePasswordMinNumericCharacters)
        “Minimum # of numeric characters required in work profile password. Valid values 1 to 10”
        Parameters:
        workProfilePasswordMinNumericCharacters - value of workProfilePasswordMinNumericCharacters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinSymbolCharacters

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfilePasswordMinSymbolCharacters​(Integer workProfilePasswordMinSymbolCharacters)
        “Minimum # of symbols required in work profile password. Valid values 1 to 10”
        Parameters:
        workProfilePasswordMinSymbolCharacters - value of workProfilePasswordMinSymbolCharacters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinUpperCaseCharacters

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfilePasswordMinUpperCaseCharacters​(Integer workProfilePasswordMinUpperCaseCharacters)
        “Minimum # of upper-case characters required in work profile password. Valid values 1 to 10”
        Parameters:
        workProfilePasswordMinUpperCaseCharacters - value of workProfilePasswordMinUpperCaseCharacters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinutesOfInactivityBeforeScreenTimeout

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

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

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfilePasswordRequiredType​(AndroidForWorkRequiredPasswordType workProfilePasswordRequiredType)
        “Type of work profile password that is required.”
        Parameters:
        workProfilePasswordRequiredType - value of workProfilePasswordRequiredType property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordSignInFailureCountBeforeFactoryReset

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfilePasswordSignInFailureCountBeforeFactoryReset​(Integer workProfilePasswordSignInFailureCountBeforeFactoryReset)
        “Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16”
        Parameters:
        workProfilePasswordSignInFailureCountBeforeFactoryReset - value of workProfilePasswordSignInFailureCountBeforeFactoryReset property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileRequirePassword

        public AndroidForWorkGeneralDeviceConfiguration.Builder workProfileRequirePassword​(Boolean workProfileRequirePassword)
        “Password is required or not for work profile”
        Parameters:
        workProfileRequirePassword - value of workProfileRequirePassword property (as defined in service metadata)
        Returns:
        this (for method chaining)