Class MicrosoftGraphDeviceHealthAttestationState


  • public final class MicrosoftGraphDeviceHealthAttestationState
    extends Object
    deviceHealthAttestationState.
    • Constructor Detail

      • MicrosoftGraphDeviceHealthAttestationState

        public MicrosoftGraphDeviceHealthAttestationState()
    • Method Detail

      • attestationIdentityKey

        public String attestationIdentityKey()
        Get the attestationIdentityKey property: TWhen an Attestation Identity Key (AIK) is present on a device, it indicates that the device has an endorsement key (EK) certificate.
        Returns:
        the attestationIdentityKey value.
      • withAttestationIdentityKey

        public MicrosoftGraphDeviceHealthAttestationState withAttestationIdentityKey​(String attestationIdentityKey)
        Set the attestationIdentityKey property: TWhen an Attestation Identity Key (AIK) is present on a device, it indicates that the device has an endorsement key (EK) certificate.
        Parameters:
        attestationIdentityKey - the attestationIdentityKey value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • bitLockerStatus

        public String bitLockerStatus()
        Get the bitLockerStatus property: On or Off of BitLocker Drive Encryption.
        Returns:
        the bitLockerStatus value.
      • withBitLockerStatus

        public MicrosoftGraphDeviceHealthAttestationState withBitLockerStatus​(String bitLockerStatus)
        Set the bitLockerStatus property: On or Off of BitLocker Drive Encryption.
        Parameters:
        bitLockerStatus - the bitLockerStatus value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • bootAppSecurityVersion

        public String bootAppSecurityVersion()
        Get the bootAppSecurityVersion property: The security version number of the Boot Application.
        Returns:
        the bootAppSecurityVersion value.
      • withBootAppSecurityVersion

        public MicrosoftGraphDeviceHealthAttestationState withBootAppSecurityVersion​(String bootAppSecurityVersion)
        Set the bootAppSecurityVersion property: The security version number of the Boot Application.
        Parameters:
        bootAppSecurityVersion - the bootAppSecurityVersion value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • bootDebugging

        public String bootDebugging()
        Get the bootDebugging property: When bootDebugging is enabled, the device is used in development and testing.
        Returns:
        the bootDebugging value.
      • withBootDebugging

        public MicrosoftGraphDeviceHealthAttestationState withBootDebugging​(String bootDebugging)
        Set the bootDebugging property: When bootDebugging is enabled, the device is used in development and testing.
        Parameters:
        bootDebugging - the bootDebugging value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • bootManagerSecurityVersion

        public String bootManagerSecurityVersion()
        Get the bootManagerSecurityVersion property: The security version number of the Boot Application.
        Returns:
        the bootManagerSecurityVersion value.
      • withBootManagerSecurityVersion

        public MicrosoftGraphDeviceHealthAttestationState withBootManagerSecurityVersion​(String bootManagerSecurityVersion)
        Set the bootManagerSecurityVersion property: The security version number of the Boot Application.
        Parameters:
        bootManagerSecurityVersion - the bootManagerSecurityVersion value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • bootManagerVersion

        public String bootManagerVersion()
        Get the bootManagerVersion property: The version of the Boot Manager.
        Returns:
        the bootManagerVersion value.
      • withBootManagerVersion

        public MicrosoftGraphDeviceHealthAttestationState withBootManagerVersion​(String bootManagerVersion)
        Set the bootManagerVersion property: The version of the Boot Manager.
        Parameters:
        bootManagerVersion - the bootManagerVersion value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • bootRevisionListInfo

        public String bootRevisionListInfo()
        Get the bootRevisionListInfo property: The Boot Revision List that was loaded during initial boot on the attested device.
        Returns:
        the bootRevisionListInfo value.
      • withBootRevisionListInfo

        public MicrosoftGraphDeviceHealthAttestationState withBootRevisionListInfo​(String bootRevisionListInfo)
        Set the bootRevisionListInfo property: The Boot Revision List that was loaded during initial boot on the attested device.
        Parameters:
        bootRevisionListInfo - the bootRevisionListInfo value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • codeIntegrity

        public String codeIntegrity()
        Get the codeIntegrity property: When code integrity is enabled, code execution is restricted to integrity verified code.
        Returns:
        the codeIntegrity value.
      • withCodeIntegrity

        public MicrosoftGraphDeviceHealthAttestationState withCodeIntegrity​(String codeIntegrity)
        Set the codeIntegrity property: When code integrity is enabled, code execution is restricted to integrity verified code.
        Parameters:
        codeIntegrity - the codeIntegrity value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • codeIntegrityCheckVersion

        public String codeIntegrityCheckVersion()
        Get the codeIntegrityCheckVersion property: The version of the Boot Manager.
        Returns:
        the codeIntegrityCheckVersion value.
      • withCodeIntegrityCheckVersion

        public MicrosoftGraphDeviceHealthAttestationState withCodeIntegrityCheckVersion​(String codeIntegrityCheckVersion)
        Set the codeIntegrityCheckVersion property: The version of the Boot Manager.
        Parameters:
        codeIntegrityCheckVersion - the codeIntegrityCheckVersion value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • codeIntegrityPolicy

        public String codeIntegrityPolicy()
        Get the codeIntegrityPolicy property: The Code Integrity policy that is controlling the security of the boot environment.
        Returns:
        the codeIntegrityPolicy value.
      • withCodeIntegrityPolicy

        public MicrosoftGraphDeviceHealthAttestationState withCodeIntegrityPolicy​(String codeIntegrityPolicy)
        Set the codeIntegrityPolicy property: The Code Integrity policy that is controlling the security of the boot environment.
        Parameters:
        codeIntegrityPolicy - the codeIntegrityPolicy value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • contentNamespaceUrl

        public String contentNamespaceUrl()
        Get the contentNamespaceUrl property: The DHA report version. (Namespace version).
        Returns:
        the contentNamespaceUrl value.
      • withContentNamespaceUrl

        public MicrosoftGraphDeviceHealthAttestationState withContentNamespaceUrl​(String contentNamespaceUrl)
        Set the contentNamespaceUrl property: The DHA report version. (Namespace version).
        Parameters:
        contentNamespaceUrl - the contentNamespaceUrl value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • contentVersion

        public String contentVersion()
        Get the contentVersion property: The HealthAttestation state schema version.
        Returns:
        the contentVersion value.
      • withContentVersion

        public MicrosoftGraphDeviceHealthAttestationState withContentVersion​(String contentVersion)
        Set the contentVersion property: The HealthAttestation state schema version.
        Parameters:
        contentVersion - the contentVersion value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • dataExcutionPolicy

        public String dataExcutionPolicy()
        Get the dataExcutionPolicy property: DEP Policy defines a set of hardware and software technologies that perform additional checks on memory.
        Returns:
        the dataExcutionPolicy value.
      • withDataExcutionPolicy

        public MicrosoftGraphDeviceHealthAttestationState withDataExcutionPolicy​(String dataExcutionPolicy)
        Set the dataExcutionPolicy property: DEP Policy defines a set of hardware and software technologies that perform additional checks on memory.
        Parameters:
        dataExcutionPolicy - the dataExcutionPolicy value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • deviceHealthAttestationStatus

        public String deviceHealthAttestationStatus()
        Get the deviceHealthAttestationStatus property: The DHA report version. (Namespace version).
        Returns:
        the deviceHealthAttestationStatus value.
      • withDeviceHealthAttestationStatus

        public MicrosoftGraphDeviceHealthAttestationState withDeviceHealthAttestationStatus​(String deviceHealthAttestationStatus)
        Set the deviceHealthAttestationStatus property: The DHA report version. (Namespace version).
        Parameters:
        deviceHealthAttestationStatus - the deviceHealthAttestationStatus value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • earlyLaunchAntiMalwareDriverProtection

        public String earlyLaunchAntiMalwareDriverProtection()
        Get the earlyLaunchAntiMalwareDriverProtection property: ELAM provides protection for the computers in your network when they start up.
        Returns:
        the earlyLaunchAntiMalwareDriverProtection value.
      • withEarlyLaunchAntiMalwareDriverProtection

        public MicrosoftGraphDeviceHealthAttestationState withEarlyLaunchAntiMalwareDriverProtection​(String earlyLaunchAntiMalwareDriverProtection)
        Set the earlyLaunchAntiMalwareDriverProtection property: ELAM provides protection for the computers in your network when they start up.
        Parameters:
        earlyLaunchAntiMalwareDriverProtection - the earlyLaunchAntiMalwareDriverProtection value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • healthAttestationSupportedStatus

        public String healthAttestationSupportedStatus()
        Get the healthAttestationSupportedStatus property: This attribute indicates if DHA is supported for the device.
        Returns:
        the healthAttestationSupportedStatus value.
      • withHealthAttestationSupportedStatus

        public MicrosoftGraphDeviceHealthAttestationState withHealthAttestationSupportedStatus​(String healthAttestationSupportedStatus)
        Set the healthAttestationSupportedStatus property: This attribute indicates if DHA is supported for the device.
        Parameters:
        healthAttestationSupportedStatus - the healthAttestationSupportedStatus value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • healthStatusMismatchInfo

        public String healthStatusMismatchInfo()
        Get the healthStatusMismatchInfo property: This attribute appears if DHA-Service detects an integrity issue.
        Returns:
        the healthStatusMismatchInfo value.
      • withHealthStatusMismatchInfo

        public MicrosoftGraphDeviceHealthAttestationState withHealthStatusMismatchInfo​(String healthStatusMismatchInfo)
        Set the healthStatusMismatchInfo property: This attribute appears if DHA-Service detects an integrity issue.
        Parameters:
        healthStatusMismatchInfo - the healthStatusMismatchInfo value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • issuedDateTime

        public OffsetDateTime issuedDateTime()
        Get the issuedDateTime property: The DateTime when device was evaluated or issued to MDM.
        Returns:
        the issuedDateTime value.
      • withIssuedDateTime

        public MicrosoftGraphDeviceHealthAttestationState withIssuedDateTime​(OffsetDateTime issuedDateTime)
        Set the issuedDateTime property: The DateTime when device was evaluated or issued to MDM.
        Parameters:
        issuedDateTime - the issuedDateTime value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • lastUpdateDateTime

        public String lastUpdateDateTime()
        Get the lastUpdateDateTime property: The Timestamp of the last update.
        Returns:
        the lastUpdateDateTime value.
      • withLastUpdateDateTime

        public MicrosoftGraphDeviceHealthAttestationState withLastUpdateDateTime​(String lastUpdateDateTime)
        Set the lastUpdateDateTime property: The Timestamp of the last update.
        Parameters:
        lastUpdateDateTime - the lastUpdateDateTime value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • operatingSystemKernelDebugging

        public String operatingSystemKernelDebugging()
        Get the operatingSystemKernelDebugging property: When operatingSystemKernelDebugging is enabled, the device is used in development and testing.
        Returns:
        the operatingSystemKernelDebugging value.
      • withOperatingSystemKernelDebugging

        public MicrosoftGraphDeviceHealthAttestationState withOperatingSystemKernelDebugging​(String operatingSystemKernelDebugging)
        Set the operatingSystemKernelDebugging property: When operatingSystemKernelDebugging is enabled, the device is used in development and testing.
        Parameters:
        operatingSystemKernelDebugging - the operatingSystemKernelDebugging value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • operatingSystemRevListInfo

        public String operatingSystemRevListInfo()
        Get the operatingSystemRevListInfo property: The Operating System Revision List that was loaded during initial boot on the attested device.
        Returns:
        the operatingSystemRevListInfo value.
      • withOperatingSystemRevListInfo

        public MicrosoftGraphDeviceHealthAttestationState withOperatingSystemRevListInfo​(String operatingSystemRevListInfo)
        Set the operatingSystemRevListInfo property: The Operating System Revision List that was loaded during initial boot on the attested device.
        Parameters:
        operatingSystemRevListInfo - the operatingSystemRevListInfo value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • pcr0

        public String pcr0()
        Get the pcr0 property: The measurement that is captured in PCR[0].
        Returns:
        the pcr0 value.
      • withPcr0

        public MicrosoftGraphDeviceHealthAttestationState withPcr0​(String pcr0)
        Set the pcr0 property: The measurement that is captured in PCR[0].
        Parameters:
        pcr0 - the pcr0 value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • pcrHashAlgorithm

        public String pcrHashAlgorithm()
        Get the pcrHashAlgorithm property: Informational attribute that identifies the HASH algorithm that was used by TPM.
        Returns:
        the pcrHashAlgorithm value.
      • withPcrHashAlgorithm

        public MicrosoftGraphDeviceHealthAttestationState withPcrHashAlgorithm​(String pcrHashAlgorithm)
        Set the pcrHashAlgorithm property: Informational attribute that identifies the HASH algorithm that was used by TPM.
        Parameters:
        pcrHashAlgorithm - the pcrHashAlgorithm value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • resetCount

        public Long resetCount()
        Get the resetCount property: The number of times a PC device has hibernated or resumed.
        Returns:
        the resetCount value.
      • withResetCount

        public MicrosoftGraphDeviceHealthAttestationState withResetCount​(Long resetCount)
        Set the resetCount property: The number of times a PC device has hibernated or resumed.
        Parameters:
        resetCount - the resetCount value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • restartCount

        public Long restartCount()
        Get the restartCount property: The number of times a PC device has rebooted.
        Returns:
        the restartCount value.
      • withRestartCount

        public MicrosoftGraphDeviceHealthAttestationState withRestartCount​(Long restartCount)
        Set the restartCount property: The number of times a PC device has rebooted.
        Parameters:
        restartCount - the restartCount value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • safeMode

        public String safeMode()
        Get the safeMode property: Safe mode is a troubleshooting option for Windows that starts your computer in a limited state.
        Returns:
        the safeMode value.
      • withSafeMode

        public MicrosoftGraphDeviceHealthAttestationState withSafeMode​(String safeMode)
        Set the safeMode property: Safe mode is a troubleshooting option for Windows that starts your computer in a limited state.
        Parameters:
        safeMode - the safeMode value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • secureBoot

        public String secureBoot()
        Get the secureBoot property: When Secure Boot is enabled, the core components must have the correct cryptographic signatures.
        Returns:
        the secureBoot value.
      • withSecureBoot

        public MicrosoftGraphDeviceHealthAttestationState withSecureBoot​(String secureBoot)
        Set the secureBoot property: When Secure Boot is enabled, the core components must have the correct cryptographic signatures.
        Parameters:
        secureBoot - the secureBoot value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • secureBootConfigurationPolicyFingerPrint

        public String secureBootConfigurationPolicyFingerPrint()
        Get the secureBootConfigurationPolicyFingerPrint property: Fingerprint of the Custom Secure Boot Configuration Policy.
        Returns:
        the secureBootConfigurationPolicyFingerPrint value.
      • withSecureBootConfigurationPolicyFingerPrint

        public MicrosoftGraphDeviceHealthAttestationState withSecureBootConfigurationPolicyFingerPrint​(String secureBootConfigurationPolicyFingerPrint)
        Set the secureBootConfigurationPolicyFingerPrint property: Fingerprint of the Custom Secure Boot Configuration Policy.
        Parameters:
        secureBootConfigurationPolicyFingerPrint - the secureBootConfigurationPolicyFingerPrint value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • testSigning

        public String testSigning()
        Get the testSigning property: When test signing is allowed, the device does not enforce signature validation during boot.
        Returns:
        the testSigning value.
      • withTestSigning

        public MicrosoftGraphDeviceHealthAttestationState withTestSigning​(String testSigning)
        Set the testSigning property: When test signing is allowed, the device does not enforce signature validation during boot.
        Parameters:
        testSigning - the testSigning value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • tpmVersion

        public String tpmVersion()
        Get the tpmVersion property: The security version number of the Boot Application.
        Returns:
        the tpmVersion value.
      • withTpmVersion

        public MicrosoftGraphDeviceHealthAttestationState withTpmVersion​(String tpmVersion)
        Set the tpmVersion property: The security version number of the Boot Application.
        Parameters:
        tpmVersion - the tpmVersion value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • virtualSecureMode

        public String virtualSecureMode()
        Get the virtualSecureMode property: VSM is a container that protects high value assets from a compromised kernel.
        Returns:
        the virtualSecureMode value.
      • withVirtualSecureMode

        public MicrosoftGraphDeviceHealthAttestationState withVirtualSecureMode​(String virtualSecureMode)
        Set the virtualSecureMode property: VSM is a container that protects high value assets from a compromised kernel.
        Parameters:
        virtualSecureMode - the virtualSecureMode value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • windowsPE

        public String windowsPE()
        Get the windowsPE property: Operating system running with limited services that is used to prepare a computer for Windows.
        Returns:
        the windowsPE value.
      • withWindowsPE

        public MicrosoftGraphDeviceHealthAttestationState withWindowsPE​(String windowsPE)
        Set the windowsPE property: Operating system running with limited services that is used to prepare a computer for Windows.
        Parameters:
        windowsPE - the windowsPE value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: deviceHealthAttestationState.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphDeviceHealthAttestationState withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: deviceHealthAttestationState.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphDeviceHealthAttestationState object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.