Class WindowsMalwareCategoryCount
- java.lang.Object
-
- odata.msgraph.client.complex.WindowsMalwareCategoryCount
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsMalwareCategoryCount extends Object implements com.github.davidmoten.odata.client.ODataType
“Malware category device count”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsMalwareCategoryCount.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegeractiveMalwareDetectionCountprotected WindowsMalwareCategorycategoryprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerdeviceCountprotected IntegerdistinctActiveMalwareCountprotected OffsetDateTimelastUpdateDateTimeprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsMalwareCategoryCount()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsMalwareCategoryCount.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getActiveMalwareDetectionCount()“Count of active malware detections for this malware category.Optional<WindowsMalwareCategory>getCategory()“Malware category.Optional<Integer>getDeviceCount()“Count of devices with malware detections for this malware category”Optional<Integer>getDistinctActiveMalwareCount()“Count of distinct active malwares for this malware category.Optional<OffsetDateTime>getLastUpdateDateTime()“The Timestamp of the last update for the device count in UTC”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsMalwareCategoryCountwithActiveMalwareDetectionCount(Integer activeMalwareDetectionCount)Returns an immutable copy ofthiswith just theactiveMalwareDetectionCountfield changed.WindowsMalwareCategoryCountwithCategory(WindowsMalwareCategory category)Returns an immutable copy ofthiswith just thecategoryfield changed.WindowsMalwareCategoryCountwithDeviceCount(Integer deviceCount)Returns an immutable copy ofthiswith just thedeviceCountfield changed.WindowsMalwareCategoryCountwithDistinctActiveMalwareCount(Integer distinctActiveMalwareCount)Returns an immutable copy ofthiswith just thedistinctActiveMalwareCountfield changed.WindowsMalwareCategoryCountwithLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)Returns an immutable copy ofthiswith just thelastUpdateDateTimefield changed.WindowsMalwareCategoryCountwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
activeMalwareDetectionCount
protected Integer activeMalwareDetectionCount
-
category
protected WindowsMalwareCategory category
-
deviceCount
protected Integer deviceCount
-
distinctActiveMalwareCount
protected Integer distinctActiveMalwareCount
-
lastUpdateDateTime
protected OffsetDateTime lastUpdateDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getActiveMalwareDetectionCount
public Optional<Integer> getActiveMalwareDetectionCount()
“Count of active malware detections for this malware category. Valid values - 2147483648 to 2147483647”- Returns:
- property activeMalwareDetectionCount
-
withActiveMalwareDetectionCount
public WindowsMalwareCategoryCount withActiveMalwareDetectionCount(Integer activeMalwareDetectionCount)
Returns an immutable copy ofthiswith just theactiveMalwareDetectionCountfield 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.“Count of active malware detections for this malware category. Valid values - 2147483648 to 2147483647”
- Parameters:
activeMalwareDetectionCount- new value ofactiveMalwareDetectionCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactiveMalwareDetectionCountfield changed
-
getCategory
public Optional<WindowsMalwareCategory> getCategory()
“Malware category. Possible values are: invalid, adware, spyware, passwordStealer , trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_ Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed.”- Returns:
- property category
-
withCategory
public WindowsMalwareCategoryCount withCategory(WindowsMalwareCategory category)
Returns an immutable copy ofthiswith just thecategoryfield 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.“Malware category. Possible values are: invalid, adware, spyware, passwordStealer , trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_ Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed.”
- Parameters:
category- new value ofcategoryfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecategoryfield changed
-
getDeviceCount
public Optional<Integer> getDeviceCount()
“Count of devices with malware detections for this malware category”- Returns:
- property deviceCount
-
withDeviceCount
public WindowsMalwareCategoryCount withDeviceCount(Integer deviceCount)
Returns an immutable copy ofthiswith just thedeviceCountfield 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.“Count of devices with malware detections for this malware category”
- Parameters:
deviceCount- new value ofdeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceCountfield changed
-
getDistinctActiveMalwareCount
public Optional<Integer> getDistinctActiveMalwareCount()
“Count of distinct active malwares for this malware category. Valid values - 2147483648 to 2147483647”- Returns:
- property distinctActiveMalwareCount
-
withDistinctActiveMalwareCount
public WindowsMalwareCategoryCount withDistinctActiveMalwareCount(Integer distinctActiveMalwareCount)
Returns an immutable copy ofthiswith just thedistinctActiveMalwareCountfield 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.“Count of distinct active malwares for this malware category. Valid values - 2147483648 to 2147483647”
- Parameters:
distinctActiveMalwareCount- new value ofdistinctActiveMalwareCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedistinctActiveMalwareCountfield changed
-
getLastUpdateDateTime
public Optional<OffsetDateTime> getLastUpdateDateTime()
“The Timestamp of the last update for the device count in UTC”- Returns:
- property lastUpdateDateTime
-
withLastUpdateDateTime
public WindowsMalwareCategoryCount withLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)
Returns an immutable copy ofthiswith just thelastUpdateDateTimefield 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.“The Timestamp of the last update for the device count in UTC”
- Parameters:
lastUpdateDateTime- new value oflastUpdateDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastUpdateDateTimefield changed
-
withUnmappedField
public WindowsMalwareCategoryCount withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static WindowsMalwareCategoryCount.Builder builder()
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
-
-