Package odata.msgraph.client.complex
Class WindowsMalwareExecutionStateCount
- java.lang.Object
-
- odata.msgraph.client.complex.WindowsMalwareExecutionStateCount
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsMalwareExecutionStateCount extends Object implements com.github.davidmoten.odata.client.ODataType
“Windows malware execution state summary.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsMalwareExecutionStateCount.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerdeviceCountprotected WindowsMalwareExecutionStateexecutionStateprotected OffsetDateTimelastUpdateDateTimeprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsMalwareExecutionStateCount()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsMalwareExecutionStateCount.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getDeviceCount()“Count of devices with malware detections for this malware execution state”Optional<WindowsMalwareExecutionState>getExecutionState()“Malware execution state.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()WindowsMalwareExecutionStateCountwithDeviceCount(Integer deviceCount)Returns an immutable copy ofthiswith just thedeviceCountfield changed.WindowsMalwareExecutionStateCountwithExecutionState(WindowsMalwareExecutionState executionState)Returns an immutable copy ofthiswith just theexecutionStatefield changed.WindowsMalwareExecutionStateCountwithLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)Returns an immutable copy ofthiswith just thelastUpdateDateTimefield changed.WindowsMalwareExecutionStateCountwithUnmappedField(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
-
deviceCount
protected Integer deviceCount
-
executionState
protected WindowsMalwareExecutionState executionState
-
lastUpdateDateTime
protected OffsetDateTime lastUpdateDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDeviceCount
public Optional<Integer> getDeviceCount()
“Count of devices with malware detections for this malware execution state”- Returns:
- property deviceCount
-
withDeviceCount
public WindowsMalwareExecutionStateCount 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 execution state”
- Parameters:
deviceCount- new value ofdeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceCountfield changed
-
getExecutionState
public Optional<WindowsMalwareExecutionState> getExecutionState()
“Malware execution state. Possible values are: unknown, blocked, allowed, running , notRunning. Defaults to unkonwn. Computed.”- Returns:
- property executionState
-
withExecutionState
public WindowsMalwareExecutionStateCount withExecutionState(WindowsMalwareExecutionState executionState)
Returns an immutable copy ofthiswith just theexecutionStatefield 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 execution state. Possible values are: unknown, blocked, allowed, running , notRunning. Defaults to unkonwn. Computed.”
- Parameters:
executionState- new value ofexecutionStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexecutionStatefield changed
-
getLastUpdateDateTime
public Optional<OffsetDateTime> getLastUpdateDateTime()
“The Timestamp of the last update for the device count in UTC”- Returns:
- property lastUpdateDateTime
-
withLastUpdateDateTime
public WindowsMalwareExecutionStateCount 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 WindowsMalwareExecutionStateCount 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 WindowsMalwareExecutionStateCount.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
-
-