Package odata.msgraph.client.entity
Class WindowsDeviceMalwareState.Builder
- java.lang.Object
-
- odata.msgraph.client.entity.WindowsDeviceMalwareState.Builder
-
- Enclosing class:
- WindowsDeviceMalwareState
public static final class WindowsDeviceMalwareState.Builder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
id
public WindowsDeviceMalwareState.Builder id(String id)
-
additionalInformationUrl
public WindowsDeviceMalwareState.Builder additionalInformationUrl(String additionalInformationUrl)
“Information URL to learn more about the malware”- Parameters:
additionalInformationUrl- value ofadditionalInformationUrlproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
category
public WindowsDeviceMalwareState.Builder category(WindowsMalwareCategory category)
“Category of the malware”- Parameters:
category- value ofcategoryproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
detectionCount
public WindowsDeviceMalwareState.Builder detectionCount(Integer detectionCount)
“Number of times the malware is detected”- Parameters:
detectionCount- value ofdetectionCountproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
displayName
public WindowsDeviceMalwareState.Builder displayName(String displayName)
“Malware name”- Parameters:
displayName- value ofdisplayNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
executionState
public WindowsDeviceMalwareState.Builder executionState(WindowsMalwareExecutionState executionState)
“Execution status of the malware like blocked/executing etc”- Parameters:
executionState- value ofexecutionStateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
initialDetectionDateTime
public WindowsDeviceMalwareState.Builder initialDetectionDateTime(OffsetDateTime initialDetectionDateTime)
“Initial detection datetime of the malware”- Parameters:
initialDetectionDateTime- value ofinitialDetectionDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
lastStateChangeDateTime
public WindowsDeviceMalwareState.Builder lastStateChangeDateTime(OffsetDateTime lastStateChangeDateTime)
“The last time this particular threat was changed”- Parameters:
lastStateChangeDateTime- value oflastStateChangeDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
severity
public WindowsDeviceMalwareState.Builder severity(WindowsMalwareSeverity severity)
“Severity of the malware”- Parameters:
severity- value ofseverityproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
state
public WindowsDeviceMalwareState.Builder state(WindowsMalwareState state)
“Current status of the malware like cleaned/quarantined/allowed etc”- Parameters:
state- value ofstateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
threatState
public WindowsDeviceMalwareState.Builder threatState(WindowsMalwareThreatState threatState)
“Current status of the malware like cleaned/quarantined/allowed etc”- Parameters:
threatState- value ofthreatStateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public WindowsDeviceMalwareState build()
-
-