Class WindowsProtectionState.Builder

    • Method Detail

      • antiMalwareVersion

        public WindowsProtectionState.Builder antiMalwareVersion​(String antiMalwareVersion)
        “Current anti malware version”
        Parameters:
        antiMalwareVersion - value of antiMalwareVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • deviceState

        public WindowsProtectionState.Builder deviceState​(WindowsDeviceHealthState deviceState)
        “Computer's state (like clean or pending full scan or pending reboot etc)”
        Parameters:
        deviceState - value of deviceState property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • engineVersion

        public WindowsProtectionState.Builder engineVersion​(String engineVersion)
        “Current endpoint protection engine's version”
        Parameters:
        engineVersion - value of engineVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fullScanOverdue

        public WindowsProtectionState.Builder fullScanOverdue​(Boolean fullScanOverdue)
        “Full scan overdue or not?”
        Parameters:
        fullScanOverdue - value of fullScanOverdue property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fullScanRequired

        public WindowsProtectionState.Builder fullScanRequired​(Boolean fullScanRequired)
        “Full scan required or not?”
        Parameters:
        fullScanRequired - value of fullScanRequired property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • isVirtualMachine

        public WindowsProtectionState.Builder isVirtualMachine​(Boolean isVirtualMachine)
        “Indicates whether the device is a virtual machine.”
        Parameters:
        isVirtualMachine - value of isVirtualMachine property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastFullScanDateTime

        public WindowsProtectionState.Builder lastFullScanDateTime​(OffsetDateTime lastFullScanDateTime)
        “Last quick scan datetime”
        Parameters:
        lastFullScanDateTime - value of lastFullScanDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastFullScanSignatureVersion

        public WindowsProtectionState.Builder lastFullScanSignatureVersion​(String lastFullScanSignatureVersion)
        “Last full scan signature version”
        Parameters:
        lastFullScanSignatureVersion - value of lastFullScanSignatureVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastQuickScanDateTime

        public WindowsProtectionState.Builder lastQuickScanDateTime​(OffsetDateTime lastQuickScanDateTime)
        “Last quick scan datetime”
        Parameters:
        lastQuickScanDateTime - value of lastQuickScanDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastQuickScanSignatureVersion

        public WindowsProtectionState.Builder lastQuickScanSignatureVersion​(String lastQuickScanSignatureVersion)
        “Last quick scan signature version”
        Parameters:
        lastQuickScanSignatureVersion - value of lastQuickScanSignatureVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastReportedDateTime

        public WindowsProtectionState.Builder lastReportedDateTime​(OffsetDateTime lastReportedDateTime)
        “Last device health status reported time”
        Parameters:
        lastReportedDateTime - value of lastReportedDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • malwareProtectionEnabled

        public WindowsProtectionState.Builder malwareProtectionEnabled​(Boolean malwareProtectionEnabled)
        “Anti malware is enabled or not”
        Parameters:
        malwareProtectionEnabled - value of malwareProtectionEnabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • networkInspectionSystemEnabled

        public WindowsProtectionState.Builder networkInspectionSystemEnabled​(Boolean networkInspectionSystemEnabled)
        “Network inspection system enabled or not?”
        Parameters:
        networkInspectionSystemEnabled - value of networkInspectionSystemEnabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • productStatus

        public WindowsProtectionState.Builder productStatus​(WindowsDefenderProductStatus productStatus)
        “Product Status of Windows Defender Antivirus”
        Parameters:
        productStatus - value of productStatus property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • quickScanOverdue

        public WindowsProtectionState.Builder quickScanOverdue​(Boolean quickScanOverdue)
        “Quick scan overdue or not?”
        Parameters:
        quickScanOverdue - value of quickScanOverdue property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • realTimeProtectionEnabled

        public WindowsProtectionState.Builder realTimeProtectionEnabled​(Boolean realTimeProtectionEnabled)
        “Real time protection is enabled or not?”
        Parameters:
        realTimeProtectionEnabled - value of realTimeProtectionEnabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • rebootRequired

        public WindowsProtectionState.Builder rebootRequired​(Boolean rebootRequired)
        “Reboot required or not?”
        Parameters:
        rebootRequired - value of rebootRequired property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • signatureUpdateOverdue

        public WindowsProtectionState.Builder signatureUpdateOverdue​(Boolean signatureUpdateOverdue)
        “Signature out of date or not?”
        Parameters:
        signatureUpdateOverdue - value of signatureUpdateOverdue property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • signatureVersion

        public WindowsProtectionState.Builder signatureVersion​(String signatureVersion)
        “Current malware definitions version”
        Parameters:
        signatureVersion - value of signatureVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • tamperProtectionEnabled

        public WindowsProtectionState.Builder tamperProtectionEnabled​(Boolean tamperProtectionEnabled)
        “Indicates whether the Windows Defender tamper protection feature is enabled.”
        Parameters:
        tamperProtectionEnabled - value of tamperProtectionEnabled property (as defined in service metadata)
        Returns:
        this (for method chaining)