Class WindowsDeviceMalwareState.Builder

    • Method Detail

      • additionalInformationUrl

        public WindowsDeviceMalwareState.Builder additionalInformationUrl​(String additionalInformationUrl)
        “Information URL to learn more about the malware”
        Parameters:
        additionalInformationUrl - value of additionalInformationUrl property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • detectionCount

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

        public WindowsDeviceMalwareState.Builder displayName​(String displayName)
        “Malware name”
        Parameters:
        displayName - value of displayName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • executionState

        public WindowsDeviceMalwareState.Builder executionState​(WindowsMalwareExecutionState executionState)
        “Execution status of the malware like blocked/executing etc”
        Parameters:
        executionState - value of executionState property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • initialDetectionDateTime

        public WindowsDeviceMalwareState.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 WindowsDeviceMalwareState.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)
      • state

        public WindowsDeviceMalwareState.Builder state​(WindowsMalwareState state)
        “Current status of the malware like cleaned/quarantined/allowed etc”
        Parameters:
        state - value of state property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • threatState

        public WindowsDeviceMalwareState.Builder threatState​(WindowsMalwareThreatState threatState)
        “Current status of the malware like cleaned/quarantined/allowed etc”
        Parameters:
        threatState - value of threatState property (as defined in service metadata)
        Returns:
        this (for method chaining)