Class DeviceComplianceScriptDeviceState.Builder

    • Method Detail

      • detectionState

        public DeviceComplianceScriptDeviceState.Builder detectionState​(RunState detectionState)
        “Detection state from the lastest device compliance script execution”
        Parameters:
        detectionState - value of detectionState property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • expectedStateUpdateDateTime

        public DeviceComplianceScriptDeviceState.Builder expectedStateUpdateDateTime​(OffsetDateTime expectedStateUpdateDateTime)
        “The next timestamp of when the device compliance script is expected to execute”
        Parameters:
        expectedStateUpdateDateTime - value of expectedStateUpdateDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastStateUpdateDateTime

        public DeviceComplianceScriptDeviceState.Builder lastStateUpdateDateTime​(OffsetDateTime lastStateUpdateDateTime)
        “The last timestamp of when the device compliance script executed”
        Parameters:
        lastStateUpdateDateTime - value of lastStateUpdateDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastSyncDateTime

        public DeviceComplianceScriptDeviceState.Builder lastSyncDateTime​(OffsetDateTime lastSyncDateTime)
        “The last time that Intune Managment Extension synced with Intune”
        Parameters:
        lastSyncDateTime - value of lastSyncDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • scriptError

        public DeviceComplianceScriptDeviceState.Builder scriptError​(String scriptError)
        “Error from the detection script”
        Parameters:
        scriptError - value of scriptError property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • scriptOutput

        public DeviceComplianceScriptDeviceState.Builder scriptOutput​(String scriptOutput)
        “Output of the detection script”
        Parameters:
        scriptOutput - value of scriptOutput property (as defined in service metadata)
        Returns:
        this (for method chaining)