Class WindowsProtectionState
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.WindowsProtectionState
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsProtectionState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Device protection status entity.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsProtectionState.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringantiMalwareVersionprotected WindowsDeviceHealthStatedeviceStateprotected StringengineVersionprotected BooleanfullScanOverdueprotected BooleanfullScanRequiredprotected BooleanisVirtualMachineprotected OffsetDateTimelastFullScanDateTimeprotected StringlastFullScanSignatureVersionprotected OffsetDateTimelastQuickScanDateTimeprotected StringlastQuickScanSignatureVersionprotected OffsetDateTimelastReportedDateTimeprotected BooleanmalwareProtectionEnabledprotected BooleannetworkInspectionSystemEnabledprotected WindowsDefenderProductStatusproductStatusprotected BooleanquickScanOverdueprotected BooleanrealTimeProtectionEnabledprotected BooleanrebootRequiredprotected BooleansignatureUpdateOverdueprotected StringsignatureVersionprotected BooleantamperProtectionEnabled-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsProtectionState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsProtectionState.BuilderbuilderWindowsProtectionState()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAntiMalwareVersion()“Current anti malware version”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()WindowsDeviceMalwareStateCollectionRequestgetDetectedMalwareState()“Device malware list”Optional<WindowsDeviceHealthState>getDeviceState()“Indicates device's health state.Optional<String>getEngineVersion()“Current endpoint protection engine's version”Optional<Boolean>getFullScanOverdue()“When TRUE indicates full scan is overdue, when FALSE indicates full scan is not overdue.Optional<Boolean>getFullScanRequired()“When TRUE indicates full scan is required, when FALSE indicates full scan is not required.Optional<Boolean>getIsVirtualMachine()“When TRUE indicates the device is a virtual machine, when FALSE indicates the device is not a virtual machine.Optional<OffsetDateTime>getLastFullScanDateTime()“Last quick scan datetime”Optional<String>getLastFullScanSignatureVersion()“Last full scan signature version”Optional<OffsetDateTime>getLastQuickScanDateTime()“Last quick scan datetime”Optional<String>getLastQuickScanSignatureVersion()“Last quick scan signature version”Optional<OffsetDateTime>getLastReportedDateTime()“Last device health status reported time”Optional<Boolean>getMalwareProtectionEnabled()“When TRUE indicates anti malware is enabled when FALSE indicates anti malware is not enabled.”Optional<Boolean>getNetworkInspectionSystemEnabled()“When TRUE indicates network inspection system enabled, when FALSE indicates network inspection system is not enabled.Optional<WindowsDefenderProductStatus>getProductStatus()“Product Status of Windows Defender Antivirus.Optional<Boolean>getQuickScanOverdue()“When TRUE indicates quick scan is overdue, when FALSE indicates quick scan is not overdue.Optional<Boolean>getRealTimeProtectionEnabled()“When TRUE indicates real time protection is enabled, when FALSE indicates real time protection is not enabled.Optional<Boolean>getRebootRequired()“When TRUE indicates reboot is required, when FALSE indicates when TRUE indicates reboot is not required.Optional<Boolean>getSignatureUpdateOverdue()“When TRUE indicates signature is out of date, when FALSE indicates signature is not out of date.Optional<String>getSignatureVersion()“Current malware definitions version”Optional<Boolean>getTamperProtectionEnabled()“When TRUE indicates the Windows Defender tamper protection feature is enabled, when FALSE indicates the Windows Defender tamper protection feature is not enabled.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsProtectionStatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsProtectionStateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsProtectionStatewithAntiMalwareVersion(String antiMalwareVersion)Returns an immutable copy ofthiswith just theantiMalwareVersionfield changed.WindowsProtectionStatewithDeviceState(WindowsDeviceHealthState deviceState)Returns an immutable copy ofthiswith just thedeviceStatefield changed.WindowsProtectionStatewithEngineVersion(String engineVersion)Returns an immutable copy ofthiswith just theengineVersionfield changed.WindowsProtectionStatewithFullScanOverdue(Boolean fullScanOverdue)Returns an immutable copy ofthiswith just thefullScanOverduefield changed.WindowsProtectionStatewithFullScanRequired(Boolean fullScanRequired)Returns an immutable copy ofthiswith just thefullScanRequiredfield changed.WindowsProtectionStatewithIsVirtualMachine(Boolean isVirtualMachine)Returns an immutable copy ofthiswith just theisVirtualMachinefield changed.WindowsProtectionStatewithLastFullScanDateTime(OffsetDateTime lastFullScanDateTime)Returns an immutable copy ofthiswith just thelastFullScanDateTimefield changed.WindowsProtectionStatewithLastFullScanSignatureVersion(String lastFullScanSignatureVersion)Returns an immutable copy ofthiswith just thelastFullScanSignatureVersionfield changed.WindowsProtectionStatewithLastQuickScanDateTime(OffsetDateTime lastQuickScanDateTime)Returns an immutable copy ofthiswith just thelastQuickScanDateTimefield changed.WindowsProtectionStatewithLastQuickScanSignatureVersion(String lastQuickScanSignatureVersion)Returns an immutable copy ofthiswith just thelastQuickScanSignatureVersionfield changed.WindowsProtectionStatewithLastReportedDateTime(OffsetDateTime lastReportedDateTime)Returns an immutable copy ofthiswith just thelastReportedDateTimefield changed.WindowsProtectionStatewithMalwareProtectionEnabled(Boolean malwareProtectionEnabled)Returns an immutable copy ofthiswith just themalwareProtectionEnabledfield changed.WindowsProtectionStatewithNetworkInspectionSystemEnabled(Boolean networkInspectionSystemEnabled)Returns an immutable copy ofthiswith just thenetworkInspectionSystemEnabledfield changed.WindowsProtectionStatewithProductStatus(WindowsDefenderProductStatus productStatus)Returns an immutable copy ofthiswith just theproductStatusfield changed.WindowsProtectionStatewithQuickScanOverdue(Boolean quickScanOverdue)Returns an immutable copy ofthiswith just thequickScanOverduefield changed.WindowsProtectionStatewithRealTimeProtectionEnabled(Boolean realTimeProtectionEnabled)Returns an immutable copy ofthiswith just therealTimeProtectionEnabledfield changed.WindowsProtectionStatewithRebootRequired(Boolean rebootRequired)Returns an immutable copy ofthiswith just therebootRequiredfield changed.WindowsProtectionStatewithSignatureUpdateOverdue(Boolean signatureUpdateOverdue)Returns an immutable copy ofthiswith just thesignatureUpdateOverduefield changed.WindowsProtectionStatewithSignatureVersion(String signatureVersion)Returns an immutable copy ofthiswith just thesignatureVersionfield changed.WindowsProtectionStatewithTamperProtectionEnabled(Boolean tamperProtectionEnabled)Returns an immutable copy ofthiswith just thetamperProtectionEnabledfield changed.WindowsProtectionStatewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
antiMalwareVersion
protected String antiMalwareVersion
-
deviceState
protected WindowsDeviceHealthState deviceState
-
engineVersion
protected String engineVersion
-
fullScanOverdue
protected Boolean fullScanOverdue
-
fullScanRequired
protected Boolean fullScanRequired
-
isVirtualMachine
protected Boolean isVirtualMachine
-
lastFullScanDateTime
protected OffsetDateTime lastFullScanDateTime
-
lastFullScanSignatureVersion
protected String lastFullScanSignatureVersion
-
lastQuickScanDateTime
protected OffsetDateTime lastQuickScanDateTime
-
lastQuickScanSignatureVersion
protected String lastQuickScanSignatureVersion
-
lastReportedDateTime
protected OffsetDateTime lastReportedDateTime
-
malwareProtectionEnabled
protected Boolean malwareProtectionEnabled
-
networkInspectionSystemEnabled
protected Boolean networkInspectionSystemEnabled
-
productStatus
protected WindowsDefenderProductStatus productStatus
-
quickScanOverdue
protected Boolean quickScanOverdue
-
realTimeProtectionEnabled
protected Boolean realTimeProtectionEnabled
-
rebootRequired
protected Boolean rebootRequired
-
signatureUpdateOverdue
protected Boolean signatureUpdateOverdue
-
signatureVersion
protected String signatureVersion
-
tamperProtectionEnabled
protected Boolean tamperProtectionEnabled
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderWindowsProtectionState
public static WindowsProtectionState.Builder builderWindowsProtectionState()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getAntiMalwareVersion
public Optional<String> getAntiMalwareVersion()
“Current anti malware version”- Returns:
- property antiMalwareVersion
-
withAntiMalwareVersion
public WindowsProtectionState withAntiMalwareVersion(String antiMalwareVersion)
Returns an immutable copy ofthiswith just theantiMalwareVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Current anti malware version”
- Parameters:
antiMalwareVersion- new value ofantiMalwareVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theantiMalwareVersionfield changed
-
getDeviceState
public Optional<WindowsDeviceHealthState> getDeviceState()
“Indicates device's health state. Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical.”- Returns:
- property deviceState
-
withDeviceState
public WindowsProtectionState withDeviceState(WindowsDeviceHealthState deviceState)
Returns an immutable copy ofthiswith just thedeviceStatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Indicates device's health state. Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical.”
- Parameters:
deviceState- new value ofdeviceStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceStatefield changed
-
getEngineVersion
public Optional<String> getEngineVersion()
“Current endpoint protection engine's version”- Returns:
- property engineVersion
-
withEngineVersion
public WindowsProtectionState withEngineVersion(String engineVersion)
Returns an immutable copy ofthiswith just theengineVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Current endpoint protection engine's version”
- Parameters:
engineVersion- new value ofengineVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theengineVersionfield changed
-
getFullScanOverdue
public Optional<Boolean> getFullScanOverdue()
“When TRUE indicates full scan is overdue, when FALSE indicates full scan is not overdue. Defaults to setting on client device.”- Returns:
- property fullScanOverdue
-
withFullScanOverdue
public WindowsProtectionState withFullScanOverdue(Boolean fullScanOverdue)
Returns an immutable copy ofthiswith just thefullScanOverduefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“When TRUE indicates full scan is overdue, when FALSE indicates full scan is not overdue. Defaults to setting on client device.”
- Parameters:
fullScanOverdue- new value offullScanOverduefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefullScanOverduefield changed
-
getFullScanRequired
public Optional<Boolean> getFullScanRequired()
“When TRUE indicates full scan is required, when FALSE indicates full scan is not required. Defaults to setting on client device.”- Returns:
- property fullScanRequired
-
withFullScanRequired
public WindowsProtectionState withFullScanRequired(Boolean fullScanRequired)
Returns an immutable copy ofthiswith just thefullScanRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“When TRUE indicates full scan is required, when FALSE indicates full scan is not required. Defaults to setting on client device.”
- Parameters:
fullScanRequired- new value offullScanRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefullScanRequiredfield changed
-
getIsVirtualMachine
public Optional<Boolean> getIsVirtualMachine()
“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.”- Returns:
- property isVirtualMachine
-
withIsVirtualMachine
public WindowsProtectionState withIsVirtualMachine(Boolean isVirtualMachine)
Returns an immutable copy ofthiswith just theisVirtualMachinefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value ofisVirtualMachinefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisVirtualMachinefield changed
-
getLastFullScanDateTime
public Optional<OffsetDateTime> getLastFullScanDateTime()
“Last quick scan datetime”- Returns:
- property lastFullScanDateTime
-
withLastFullScanDateTime
public WindowsProtectionState withLastFullScanDateTime(OffsetDateTime lastFullScanDateTime)
Returns an immutable copy ofthiswith just thelastFullScanDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Last quick scan datetime”
- Parameters:
lastFullScanDateTime- new value oflastFullScanDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastFullScanDateTimefield changed
-
getLastFullScanSignatureVersion
public Optional<String> getLastFullScanSignatureVersion()
“Last full scan signature version”- Returns:
- property lastFullScanSignatureVersion
-
withLastFullScanSignatureVersion
public WindowsProtectionState withLastFullScanSignatureVersion(String lastFullScanSignatureVersion)
Returns an immutable copy ofthiswith just thelastFullScanSignatureVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Last full scan signature version”
- Parameters:
lastFullScanSignatureVersion- new value oflastFullScanSignatureVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastFullScanSignatureVersionfield changed
-
getLastQuickScanDateTime
public Optional<OffsetDateTime> getLastQuickScanDateTime()
“Last quick scan datetime”- Returns:
- property lastQuickScanDateTime
-
withLastQuickScanDateTime
public WindowsProtectionState withLastQuickScanDateTime(OffsetDateTime lastQuickScanDateTime)
Returns an immutable copy ofthiswith just thelastQuickScanDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Last quick scan datetime”
- Parameters:
lastQuickScanDateTime- new value oflastQuickScanDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastQuickScanDateTimefield changed
-
getLastQuickScanSignatureVersion
public Optional<String> getLastQuickScanSignatureVersion()
“Last quick scan signature version”- Returns:
- property lastQuickScanSignatureVersion
-
withLastQuickScanSignatureVersion
public WindowsProtectionState withLastQuickScanSignatureVersion(String lastQuickScanSignatureVersion)
Returns an immutable copy ofthiswith just thelastQuickScanSignatureVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Last quick scan signature version”
- Parameters:
lastQuickScanSignatureVersion- new value oflastQuickScanSignatureVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastQuickScanSignatureVersionfield changed
-
getLastReportedDateTime
public Optional<OffsetDateTime> getLastReportedDateTime()
“Last device health status reported time”- Returns:
- property lastReportedDateTime
-
withLastReportedDateTime
public WindowsProtectionState withLastReportedDateTime(OffsetDateTime lastReportedDateTime)
Returns an immutable copy ofthiswith just thelastReportedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Last device health status reported time”
- Parameters:
lastReportedDateTime- new value oflastReportedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastReportedDateTimefield changed
-
getMalwareProtectionEnabled
public Optional<Boolean> getMalwareProtectionEnabled()
“When TRUE indicates anti malware is enabled when FALSE indicates anti malware is not enabled.”- Returns:
- property malwareProtectionEnabled
-
withMalwareProtectionEnabled
public WindowsProtectionState withMalwareProtectionEnabled(Boolean malwareProtectionEnabled)
Returns an immutable copy ofthiswith just themalwareProtectionEnabledfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“When TRUE indicates anti malware is enabled when FALSE indicates anti malware is not enabled.”
- Parameters:
malwareProtectionEnabled- new value ofmalwareProtectionEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themalwareProtectionEnabledfield changed
-
getNetworkInspectionSystemEnabled
public Optional<Boolean> getNetworkInspectionSystemEnabled()
“When TRUE indicates network inspection system enabled, when FALSE indicates network inspection system is not enabled. Defaults to setting on client device.”- Returns:
- property networkInspectionSystemEnabled
-
withNetworkInspectionSystemEnabled
public WindowsProtectionState withNetworkInspectionSystemEnabled(Boolean networkInspectionSystemEnabled)
Returns an immutable copy ofthiswith just thenetworkInspectionSystemEnabledfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“When TRUE indicates network inspection system enabled, when FALSE indicates network inspection system is not enabled. Defaults to setting on client device.”
- Parameters:
networkInspectionSystemEnabled- new value ofnetworkInspectionSystemEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenetworkInspectionSystemEnabledfield changed
-
getProductStatus
public Optional<WindowsDefenderProductStatus> getProductStatus()
“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.”- Returns:
- property productStatus
-
withProductStatus
public WindowsProtectionState withProductStatus(WindowsDefenderProductStatus productStatus)
Returns an immutable copy ofthiswith just theproductStatusfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value ofproductStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproductStatusfield changed
-
getQuickScanOverdue
public Optional<Boolean> getQuickScanOverdue()
“When TRUE indicates quick scan is overdue, when FALSE indicates quick scan is not overdue. Defaults to setting on client device.”- Returns:
- property quickScanOverdue
-
withQuickScanOverdue
public WindowsProtectionState withQuickScanOverdue(Boolean quickScanOverdue)
Returns an immutable copy ofthiswith just thequickScanOverduefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“When TRUE indicates quick scan is overdue, when FALSE indicates quick scan is not overdue. Defaults to setting on client device.”
- Parameters:
quickScanOverdue- new value ofquickScanOverduefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequickScanOverduefield changed
-
getRealTimeProtectionEnabled
public Optional<Boolean> getRealTimeProtectionEnabled()
“When TRUE indicates real time protection is enabled, when FALSE indicates real time protection is not enabled. Defaults to setting on client device.”- Returns:
- property realTimeProtectionEnabled
-
withRealTimeProtectionEnabled
public WindowsProtectionState withRealTimeProtectionEnabled(Boolean realTimeProtectionEnabled)
Returns an immutable copy ofthiswith just therealTimeProtectionEnabledfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value ofrealTimeProtectionEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therealTimeProtectionEnabledfield changed
-
getRebootRequired
public Optional<Boolean> getRebootRequired()
“When TRUE indicates reboot is required, when FALSE indicates when TRUE indicates reboot is not required. Defaults to setting on client device.”- Returns:
- property rebootRequired
-
withRebootRequired
public WindowsProtectionState withRebootRequired(Boolean rebootRequired)
Returns an immutable copy ofthiswith just therebootRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“When TRUE indicates reboot is required, when FALSE indicates when TRUE indicates reboot is not required. Defaults to setting on client device.”
- Parameters:
rebootRequired- new value ofrebootRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therebootRequiredfield changed
-
getSignatureUpdateOverdue
public Optional<Boolean> getSignatureUpdateOverdue()
“When TRUE indicates signature is out of date, when FALSE indicates signature is not out of date. Defaults to setting on client device.”- Returns:
- property signatureUpdateOverdue
-
withSignatureUpdateOverdue
public WindowsProtectionState withSignatureUpdateOverdue(Boolean signatureUpdateOverdue)
Returns an immutable copy ofthiswith just thesignatureUpdateOverduefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value ofsignatureUpdateOverduefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesignatureUpdateOverduefield changed
-
getSignatureVersion
public Optional<String> getSignatureVersion()
“Current malware definitions version”- Returns:
- property signatureVersion
-
withSignatureVersion
public WindowsProtectionState withSignatureVersion(String signatureVersion)
Returns an immutable copy ofthiswith just thesignatureVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Current malware definitions version”
- Parameters:
signatureVersion- new value ofsignatureVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesignatureVersionfield changed
-
getTamperProtectionEnabled
public Optional<Boolean> getTamperProtectionEnabled()
“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.”- Returns:
- property tamperProtectionEnabled
-
withTamperProtectionEnabled
public WindowsProtectionState withTamperProtectionEnabled(Boolean tamperProtectionEnabled)
Returns an immutable copy ofthiswith just thetamperProtectionEnabledfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“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- new value oftamperProtectionEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetamperProtectionEnabledfield changed
-
withUnmappedField
public WindowsProtectionState withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getDetectedMalwareState
public WindowsDeviceMalwareStateCollectionRequest getDetectedMalwareState()
“Device malware list”- Returns:
- navigational property detectedMalwareState
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public WindowsProtectionState patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsProtectionState put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-