Class AccessLevelBasicConditionDevicePolicy


  • public final class AccessLevelBasicConditionDevicePolicy
    extends java.lang.Object
    • Method Detail

      • allowedDeviceManagementLevels

        public java.util.List<java.lang.String> allowedDeviceManagementLevels()
        Returns:
        A list of allowed device management levels. An empty list allows all management levels. Each value may be one of: `MANAGEMENT_UNSPECIFIED`, `NONE`, `BASIC`, `COMPLETE`.
      • allowedEncryptionStatuses

        public java.util.List<java.lang.String> allowedEncryptionStatuses()
        Returns:
        A list of allowed encryptions statuses. An empty list allows all statuses. Each value may be one of: `ENCRYPTION_UNSPECIFIED`, `ENCRYPTION_UNSUPPORTED`, `UNENCRYPTED`, `ENCRYPTED`.
      • requireAdminApproval

        public java.util.Optional<java.lang.Boolean> requireAdminApproval()
        Returns:
        Whether the device needs to be approved by the customer admin.
      • requireCorpOwned

        public java.util.Optional<java.lang.Boolean> requireCorpOwned()
        Returns:
        Whether the device needs to be corp owned.
      • requireScreenLock

        public java.util.Optional<java.lang.Boolean> requireScreenLock()
        Returns:
        Whether or not screenlock is required for the DevicePolicy to be true. Defaults to false.