Class DeviceHealthAttestationState.Builder

    • Method Detail

      • attestationIdentityKey

        public DeviceHealthAttestationState.Builder attestationIdentityKey​(String attestationIdentityKey)
        “TWhen an Attestation Identity Key (AIK) is present on a device, it indicates that the device has an endorsement key (EK) certificate.”
        Parameters:
        attestationIdentityKey - value of attestationIdentityKey property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • bitLockerStatus

        public DeviceHealthAttestationState.Builder bitLockerStatus​(String bitLockerStatus)
        “On or Off of BitLocker Drive Encryption”
        Parameters:
        bitLockerStatus - value of bitLockerStatus property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • bootAppSecurityVersion

        public DeviceHealthAttestationState.Builder bootAppSecurityVersion​(String bootAppSecurityVersion)
        “The security version number of the Boot Application”
        Parameters:
        bootAppSecurityVersion - value of bootAppSecurityVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • bootDebugging

        public DeviceHealthAttestationState.Builder bootDebugging​(String bootDebugging)
        “When bootDebugging is enabled, the device is used in development and testing”
        Parameters:
        bootDebugging - value of bootDebugging property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • bootManagerSecurityVersion

        public DeviceHealthAttestationState.Builder bootManagerSecurityVersion​(String bootManagerSecurityVersion)
        “The security version number of the Boot Application”
        Parameters:
        bootManagerSecurityVersion - value of bootManagerSecurityVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • bootManagerVersion

        public DeviceHealthAttestationState.Builder bootManagerVersion​(String bootManagerVersion)
        “The version of the Boot Manager”
        Parameters:
        bootManagerVersion - value of bootManagerVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • bootRevisionListInfo

        public DeviceHealthAttestationState.Builder bootRevisionListInfo​(String bootRevisionListInfo)
        “The Boot Revision List that was loaded during initial boot on the attested device”
        Parameters:
        bootRevisionListInfo - value of bootRevisionListInfo property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • codeIntegrity

        public DeviceHealthAttestationState.Builder codeIntegrity​(String codeIntegrity)
        “When code integrity is enabled, code execution is restricted to integrity verified code”
        Parameters:
        codeIntegrity - value of codeIntegrity property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • codeIntegrityCheckVersion

        public DeviceHealthAttestationState.Builder codeIntegrityCheckVersion​(String codeIntegrityCheckVersion)
        “The version of the Boot Manager”
        Parameters:
        codeIntegrityCheckVersion - value of codeIntegrityCheckVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • codeIntegrityPolicy

        public DeviceHealthAttestationState.Builder codeIntegrityPolicy​(String codeIntegrityPolicy)
        “The Code Integrity policy that is controlling the security of the boot environment”
        Parameters:
        codeIntegrityPolicy - value of codeIntegrityPolicy property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentNamespaceUrl

        public DeviceHealthAttestationState.Builder contentNamespaceUrl​(String contentNamespaceUrl)
        “The DHA report version. (Namespace version)”
        Parameters:
        contentNamespaceUrl - value of contentNamespaceUrl property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contentVersion

        public DeviceHealthAttestationState.Builder contentVersion​(String contentVersion)
        “The HealthAttestation state schema version”
        Parameters:
        contentVersion - value of contentVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • dataExcutionPolicy

        public DeviceHealthAttestationState.Builder dataExcutionPolicy​(String dataExcutionPolicy)
        “DEP Policy defines a set of hardware and software technologies that perform additional checks on memory”
        Parameters:
        dataExcutionPolicy - value of dataExcutionPolicy property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • deviceHealthAttestationStatus

        public DeviceHealthAttestationState.Builder deviceHealthAttestationStatus​(String deviceHealthAttestationStatus)
        “The DHA report version. (Namespace version)”
        Parameters:
        deviceHealthAttestationStatus - value of deviceHealthAttestationStatus property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • earlyLaunchAntiMalwareDriverProtection

        public DeviceHealthAttestationState.Builder earlyLaunchAntiMalwareDriverProtection​(String earlyLaunchAntiMalwareDriverProtection)
        “ELAM provides protection for the computers in your network when they start up”
        Parameters:
        earlyLaunchAntiMalwareDriverProtection - value of earlyLaunchAntiMalwareDriverProtection property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • healthAttestationSupportedStatus

        public DeviceHealthAttestationState.Builder healthAttestationSupportedStatus​(String healthAttestationSupportedStatus)
        “This attribute indicates if DHA is supported for the device”
        Parameters:
        healthAttestationSupportedStatus - value of healthAttestationSupportedStatus property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • healthStatusMismatchInfo

        public DeviceHealthAttestationState.Builder healthStatusMismatchInfo​(String healthStatusMismatchInfo)
        “This attribute appears if DHA-Service detects an integrity issue”
        Parameters:
        healthStatusMismatchInfo - value of healthStatusMismatchInfo property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • issuedDateTime

        public DeviceHealthAttestationState.Builder issuedDateTime​(OffsetDateTime issuedDateTime)
        “The DateTime when device was evaluated or issued to MDM”
        Parameters:
        issuedDateTime - value of issuedDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastUpdateDateTime

        public DeviceHealthAttestationState.Builder lastUpdateDateTime​(String lastUpdateDateTime)
        “The Timestamp of the last update.”
        Parameters:
        lastUpdateDateTime - value of lastUpdateDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • operatingSystemKernelDebugging

        public DeviceHealthAttestationState.Builder operatingSystemKernelDebugging​(String operatingSystemKernelDebugging)
        “When operatingSystemKernelDebugging is enabled, the device is used in development and testing”
        Parameters:
        operatingSystemKernelDebugging - value of operatingSystemKernelDebugging property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • operatingSystemRevListInfo

        public DeviceHealthAttestationState.Builder operatingSystemRevListInfo​(String operatingSystemRevListInfo)
        “The Operating System Revision List that was loaded during initial boot on the attested device”
        Parameters:
        operatingSystemRevListInfo - value of operatingSystemRevListInfo property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • pcr0

        public DeviceHealthAttestationState.Builder pcr0​(String pcr0)
        “The measurement that is captured in PCR[0]”
        Parameters:
        pcr0 - value of pcr0 property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • pcrHashAlgorithm

        public DeviceHealthAttestationState.Builder pcrHashAlgorithm​(String pcrHashAlgorithm)
        “Informational attribute that identifies the HASH algorithm that was used by TPM”
        Parameters:
        pcrHashAlgorithm - value of pcrHashAlgorithm property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • resetCount

        public DeviceHealthAttestationState.Builder resetCount​(Long resetCount)
        “The number of times a PC device has hibernated or resumed”
        Parameters:
        resetCount - value of resetCount property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • restartCount

        public DeviceHealthAttestationState.Builder restartCount​(Long restartCount)
        “The number of times a PC device has rebooted”
        Parameters:
        restartCount - value of restartCount property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • safeMode

        public DeviceHealthAttestationState.Builder safeMode​(String safeMode)
        “Safe mode is a troubleshooting option for Windows that starts your computer in a limited state”
        Parameters:
        safeMode - value of safeMode property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • secureBoot

        public DeviceHealthAttestationState.Builder secureBoot​(String secureBoot)
        “When Secure Boot is enabled, the core components must have the correct cryptographic signatures”
        Parameters:
        secureBoot - value of secureBoot property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • secureBootConfigurationPolicyFingerPrint

        public DeviceHealthAttestationState.Builder secureBootConfigurationPolicyFingerPrint​(String secureBootConfigurationPolicyFingerPrint)
        “Fingerprint of the Custom Secure Boot Configuration Policy”
        Parameters:
        secureBootConfigurationPolicyFingerPrint - value of secureBootConfigurationPolicyFingerPrint property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • testSigning

        public DeviceHealthAttestationState.Builder testSigning​(String testSigning)
        “When test signing is allowed, the device does not enforce signature validation during boot”
        Parameters:
        testSigning - value of testSigning property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • tpmVersion

        public DeviceHealthAttestationState.Builder tpmVersion​(String tpmVersion)
        “The security version number of the Boot Application”
        Parameters:
        tpmVersion - value of tpmVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • virtualSecureMode

        public DeviceHealthAttestationState.Builder virtualSecureMode​(String virtualSecureMode)
        “Indicates whether the device has Virtual Secure Mode (VSM) enabled. Virtual Secure Mode (VSM) is a container that protects high value assets from a compromised kernel. This property will be deprecated in beta from August 2023. Support for this property will end in August 2025 for v1.0 API. A new property virtualizationBasedSecurity is added and used instead. The value used for virtualSecureMode will be passed by virtualizationBasedSecurity during the deprecation process. Possible values are "enabled", "disabled" and " notApplicable". "enabled" indicates Virtual Secure Mode (VSM) is enabled. " disabled" indicates Virtual Secure Mode (VSM) is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable ".”
        Parameters:
        virtualSecureMode - value of virtualSecureMode property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • windowsPE

        public DeviceHealthAttestationState.Builder windowsPE​(String windowsPE)
        “Operating system running with limited services that is used to prepare a computer for Windows”
        Parameters:
        windowsPE - value of windowsPE property (as defined in service metadata)
        Returns:
        this (for method chaining)