Class MalwareStateForWindowsDevice.Builder

    • Method Detail

      • detectionCount

        public MalwareStateForWindowsDevice.Builder detectionCount​(Integer detectionCount)
        “Indicates the number of times the malware is detected”
        Parameters:
        detectionCount - value of detectionCount property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • deviceName

        public MalwareStateForWindowsDevice.Builder deviceName​(String deviceName)
        “Indicates the name of the device being evaluated for malware state”
        Parameters:
        deviceName - value of deviceName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • executionState

        public MalwareStateForWindowsDevice.Builder executionState​(WindowsMalwareExecutionState executionState)
        “Indicates execution status of the malware. Possible values are: unknown, blocked , allowed, running, notRunning. Defaults to unknown”
        Parameters:
        executionState - value of executionState property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • initialDetectionDateTime

        public MalwareStateForWindowsDevice.Builder initialDetectionDateTime​(OffsetDateTime initialDetectionDateTime)
        “Initial detection datetime of the malware”
        Parameters:
        initialDetectionDateTime - value of initialDetectionDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastStateChangeDateTime

        public MalwareStateForWindowsDevice.Builder lastStateChangeDateTime​(OffsetDateTime lastStateChangeDateTime)
        “The last time this particular threat was changed”
        Parameters:
        lastStateChangeDateTime - value of lastStateChangeDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • threatState

        public MalwareStateForWindowsDevice.Builder threatState​(WindowsMalwareThreatState threatState)
        “Indicates threat status of the malware. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. defaults to noStatusCleared”
        Parameters:
        threatState - value of threatState property (as defined in service metadata)
        Returns:
        this (for method chaining)