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)
        “Indicates device's health state. Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical.”
        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)
        “When TRUE indicates full scan is overdue, when FALSE indicates full scan is not overdue. Defaults to setting on client device.”
        Parameters:
        fullScanOverdue - value of fullScanOverdue property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fullScanRequired

        public WindowsProtectionState.Builder fullScanRequired​(Boolean fullScanRequired)
        “When TRUE indicates full scan is required, when FALSE indicates full scan is not required. Defaults to setting on client device.”
        Parameters:
        fullScanRequired - value of fullScanRequired property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • isVirtualMachine

        public WindowsProtectionState.Builder isVirtualMachine​(Boolean isVirtualMachine)
        “When TRUE indicates the device is a virtual machine, when FALSE indicates the device is not a virtual machine. Defaults to setting on client device.”
        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)
        “When TRUE indicates anti malware is enabled when FALSE indicates anti malware is not enabled.”
        Parameters:
        malwareProtectionEnabled - value of malwareProtectionEnabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • networkInspectionSystemEnabled

        public WindowsProtectionState.Builder networkInspectionSystemEnabled​(Boolean networkInspectionSystemEnabled)
        “When TRUE indicates network inspection system enabled, when FALSE indicates network inspection system is not enabled. Defaults to setting on client device.”
        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. Possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall.”
        Parameters:
        productStatus - value of productStatus property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • quickScanOverdue

        public WindowsProtectionState.Builder quickScanOverdue​(Boolean quickScanOverdue)
        “When TRUE indicates quick scan is overdue, when FALSE indicates quick scan is not overdue. Defaults to setting on client device.”
        Parameters:
        quickScanOverdue - value of quickScanOverdue property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • realTimeProtectionEnabled

        public WindowsProtectionState.Builder realTimeProtectionEnabled​(Boolean realTimeProtectionEnabled)
        “When TRUE indicates real time protection is enabled, when FALSE indicates real time protection is not enabled. Defaults to setting on client device.”
        Parameters:
        realTimeProtectionEnabled - value of realTimeProtectionEnabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • rebootRequired

        public WindowsProtectionState.Builder rebootRequired​(Boolean rebootRequired)
        “When TRUE indicates reboot is required, when FALSE indicates when TRUE indicates reboot is not required. Defaults to setting on client device.”
        Parameters:
        rebootRequired - value of rebootRequired property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • signatureUpdateOverdue

        public WindowsProtectionState.Builder signatureUpdateOverdue​(Boolean signatureUpdateOverdue)
        “When TRUE indicates signature is out of date, when FALSE indicates signature is not out of date. Defaults to setting on client device.”
        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)
        “When TRUE indicates the Windows Defender tamper protection feature is enabled, when FALSE indicates the Windows Defender tamper protection feature is not enabled. Defaults to setting on client device.”
        Parameters:
        tamperProtectionEnabled - value of tamperProtectionEnabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • detectedMalwareState

        public WindowsProtectionState.Builder detectedMalwareState​(List<WindowsDeviceMalwareState> detectedMalwareState)
        “Device malware list”
        Parameters:
        detectedMalwareState - value of detectedMalwareState property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • detectedMalwareState

        public WindowsProtectionState.Builder detectedMalwareState​(WindowsDeviceMalwareState... detectedMalwareState)
        “Device malware list”
        Parameters:
        detectedMalwareState - value of detectedMalwareState property (as defined in service metadata)
        Returns:
        this (for method chaining)