Package odata.msgraph.client.entity
Class WindowsProtectionState.Builder
- java.lang.Object
-
- odata.msgraph.client.entity.WindowsProtectionState.Builder
-
- Enclosing class:
- WindowsProtectionState
public static final class WindowsProtectionState.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WindowsProtectionState.BuilderantiMalwareVersion(String antiMalwareVersion)“Current anti malware version”WindowsProtectionStatebuild()WindowsProtectionState.BuilderdetectedMalwareState(List<WindowsDeviceMalwareState> detectedMalwareState)“Device malware list”WindowsProtectionState.BuilderdetectedMalwareState(WindowsDeviceMalwareState... detectedMalwareState)“Device malware list”WindowsProtectionState.BuilderdeviceState(WindowsDeviceHealthState deviceState)“Indicates device's health state.WindowsProtectionState.BuilderengineVersion(String engineVersion)“Current endpoint protection engine's version”WindowsProtectionState.BuilderfullScanOverdue(Boolean fullScanOverdue)“When TRUE indicates full scan is overdue, when FALSE indicates full scan is not overdue.WindowsProtectionState.BuilderfullScanRequired(Boolean fullScanRequired)“When TRUE indicates full scan is required, when FALSE indicates full scan is not required.WindowsProtectionState.Builderid(String id)WindowsProtectionState.BuilderisVirtualMachine(Boolean isVirtualMachine)“When TRUE indicates the device is a virtual machine, when FALSE indicates the device is not a virtual machine.WindowsProtectionState.BuilderlastFullScanDateTime(OffsetDateTime lastFullScanDateTime)“Last quick scan datetime”WindowsProtectionState.BuilderlastFullScanSignatureVersion(String lastFullScanSignatureVersion)“Last full scan signature version”WindowsProtectionState.BuilderlastQuickScanDateTime(OffsetDateTime lastQuickScanDateTime)“Last quick scan datetime”WindowsProtectionState.BuilderlastQuickScanSignatureVersion(String lastQuickScanSignatureVersion)“Last quick scan signature version”WindowsProtectionState.BuilderlastReportedDateTime(OffsetDateTime lastReportedDateTime)“Last device health status reported time”WindowsProtectionState.BuildermalwareProtectionEnabled(Boolean malwareProtectionEnabled)“When TRUE indicates anti malware is enabled when FALSE indicates anti malware is not enabled.”WindowsProtectionState.BuildernetworkInspectionSystemEnabled(Boolean networkInspectionSystemEnabled)“When TRUE indicates network inspection system enabled, when FALSE indicates network inspection system is not enabled.WindowsProtectionState.BuilderproductStatus(WindowsDefenderProductStatus productStatus)“Product Status of Windows Defender Antivirus.WindowsProtectionState.BuilderquickScanOverdue(Boolean quickScanOverdue)“When TRUE indicates quick scan is overdue, when FALSE indicates quick scan is not overdue.WindowsProtectionState.BuilderrealTimeProtectionEnabled(Boolean realTimeProtectionEnabled)“When TRUE indicates real time protection is enabled, when FALSE indicates real time protection is not enabled.WindowsProtectionState.BuilderrebootRequired(Boolean rebootRequired)“When TRUE indicates reboot is required, when FALSE indicates when TRUE indicates reboot is not required.WindowsProtectionState.BuildersignatureUpdateOverdue(Boolean signatureUpdateOverdue)“When TRUE indicates signature is out of date, when FALSE indicates signature is not out of date.WindowsProtectionState.BuildersignatureVersion(String signatureVersion)“Current malware definitions version”WindowsProtectionState.BuildertamperProtectionEnabled(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.
-
-
-
Method Detail
-
id
public WindowsProtectionState.Builder id(String id)
-
antiMalwareVersion
public WindowsProtectionState.Builder antiMalwareVersion(String antiMalwareVersion)
“Current anti malware version”- Parameters:
antiMalwareVersion- value ofantiMalwareVersionproperty (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 ofdeviceStateproperty (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 ofengineVersionproperty (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 offullScanOverdueproperty (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 offullScanRequiredproperty (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 ofisVirtualMachineproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
lastFullScanDateTime
public WindowsProtectionState.Builder lastFullScanDateTime(OffsetDateTime lastFullScanDateTime)
“Last quick scan datetime”- Parameters:
lastFullScanDateTime- value oflastFullScanDateTimeproperty (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 oflastFullScanSignatureVersionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
lastQuickScanDateTime
public WindowsProtectionState.Builder lastQuickScanDateTime(OffsetDateTime lastQuickScanDateTime)
“Last quick scan datetime”- Parameters:
lastQuickScanDateTime- value oflastQuickScanDateTimeproperty (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 oflastQuickScanSignatureVersionproperty (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 oflastReportedDateTimeproperty (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 ofmalwareProtectionEnabledproperty (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 ofnetworkInspectionSystemEnabledproperty (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 ofproductStatusproperty (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 ofquickScanOverdueproperty (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 ofrealTimeProtectionEnabledproperty (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 ofrebootRequiredproperty (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 ofsignatureUpdateOverdueproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
signatureVersion
public WindowsProtectionState.Builder signatureVersion(String signatureVersion)
“Current malware definitions version”- Parameters:
signatureVersion- value ofsignatureVersionproperty (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 oftamperProtectionEnabledproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
detectedMalwareState
public WindowsProtectionState.Builder detectedMalwareState(List<WindowsDeviceMalwareState> detectedMalwareState)
“Device malware list”- Parameters:
detectedMalwareState- value ofdetectedMalwareStateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
detectedMalwareState
public WindowsProtectionState.Builder detectedMalwareState(WindowsDeviceMalwareState... detectedMalwareState)
“Device malware list”- Parameters:
detectedMalwareState- value ofdetectedMalwareStateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public WindowsProtectionState build()
-
-