Package odata.msgraph.client.complex
Class WindowsMalwareSeverityCount
- java.lang.Object
-
- odata.msgraph.client.complex.WindowsMalwareSeverityCount
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsMalwareSeverityCount extends Object implements com.github.davidmoten.odata.client.ODataType
“Windows Malware Severity Count Summary”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsMalwareSeverityCount.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerdistinctMalwareCountprotected OffsetDateTimelastUpdateDateTimeprotected IntegermalwareDetectionCountprotected StringodataTypeprotected WindowsMalwareSeverityseverityprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsMalwareSeverityCount()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsMalwareSeverityCount.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getDistinctMalwareCount()“Count of distinct malwares for this malware State.Optional<OffsetDateTime>getLastUpdateDateTime()“The Timestamp of the last update for the WindowsMalwareSeverityCount in UTC”Optional<Integer>getMalwareDetectionCount()“Count of threats detections for this malware severity.Optional<WindowsMalwareSeverity>getSeverity()“Malware Threat Severity.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsMalwareSeverityCountwithDistinctMalwareCount(Integer distinctMalwareCount)Returns an immutable copy ofthiswith just thedistinctMalwareCountfield changed.WindowsMalwareSeverityCountwithLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)Returns an immutable copy ofthiswith just thelastUpdateDateTimefield changed.WindowsMalwareSeverityCountwithMalwareDetectionCount(Integer malwareDetectionCount)Returns an immutable copy ofthiswith just themalwareDetectionCountfield changed.WindowsMalwareSeverityCountwithSeverity(WindowsMalwareSeverity severity)Returns an immutable copy ofthiswith just theseverityfield changed.WindowsMalwareSeverityCountwithUnmappedField(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
-
distinctMalwareCount
protected Integer distinctMalwareCount
-
lastUpdateDateTime
protected OffsetDateTime lastUpdateDateTime
-
malwareDetectionCount
protected Integer malwareDetectionCount
-
severity
protected WindowsMalwareSeverity severity
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDistinctMalwareCount
public Optional<Integer> getDistinctMalwareCount()
“Count of distinct malwares for this malware State. Valid values -2147483648 to 2147483647”- Returns:
- property distinctMalwareCount
-
withDistinctMalwareCount
public WindowsMalwareSeverityCount withDistinctMalwareCount(Integer distinctMalwareCount)
Returns an immutable copy ofthiswith just thedistinctMalwareCountfield 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 malwares for this malware State. Valid values -2147483648 to 2147483647”
- Parameters:
distinctMalwareCount- new value ofdistinctMalwareCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedistinctMalwareCountfield changed
-
getLastUpdateDateTime
public Optional<OffsetDateTime> getLastUpdateDateTime()
“The Timestamp of the last update for the WindowsMalwareSeverityCount in UTC”- Returns:
- property lastUpdateDateTime
-
withLastUpdateDateTime
public WindowsMalwareSeverityCount 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 WindowsMalwareSeverityCount in UTC”
- Parameters:
lastUpdateDateTime- new value oflastUpdateDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastUpdateDateTimefield changed
-
getMalwareDetectionCount
public Optional<Integer> getMalwareDetectionCount()
“Count of threats detections for this malware severity. Valid values -2147483648 to 2147483647”- Returns:
- property malwareDetectionCount
-
withMalwareDetectionCount
public WindowsMalwareSeverityCount withMalwareDetectionCount(Integer malwareDetectionCount)
Returns an immutable copy ofthiswith just themalwareDetectionCountfield 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 threats detections for this malware severity. Valid values -2147483648 to 2147483647”
- Parameters:
malwareDetectionCount- new value ofmalwareDetectionCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themalwareDetectionCountfield changed
-
getSeverity
public Optional<WindowsMalwareSeverity> getSeverity()
“Malware Threat Severity. computed. Possible values are: unknown, low, moderate, high, severe.”- Returns:
- property severity
-
withSeverity
public WindowsMalwareSeverityCount withSeverity(WindowsMalwareSeverity severity)
Returns an immutable copy ofthiswith just theseverityfield 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 Threat Severity. computed. Possible values are: unknown, low, moderate, high, severe.”
- Parameters:
severity- new value ofseverityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theseverityfield changed
-
withUnmappedField
public WindowsMalwareSeverityCount 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 WindowsMalwareSeverityCount.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
-
-