public class DefenderDetectedMalwareActions extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DefenderDetectedMalwareActions.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected DefenderThreatAction |
highSeverity |
protected DefenderThreatAction |
lowSeverity |
protected DefenderThreatAction |
moderateSeverity |
protected String |
odataType |
protected DefenderThreatAction |
severeSeverity |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DefenderDetectedMalwareActions() |
| Modifier and Type | Method and Description |
|---|---|
static DefenderDetectedMalwareActions.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<DefenderThreatAction> |
getHighSeverity()
“Indicates a Defender action to take for high severity Malware threat detected.”
|
Optional<DefenderThreatAction> |
getLowSeverity()
“Indicates a Defender action to take for low severity Malware threat detected.”
|
Optional<DefenderThreatAction> |
getModerateSeverity()
“Indicates a Defender action to take for moderate severity Malware threat
detected.”
|
Optional<DefenderThreatAction> |
getSevereSeverity()
“Indicates a Defender action to take for severe severity Malware threat detected.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DefenderDetectedMalwareActions |
withHighSeverity(DefenderThreatAction highSeverity)
Returns an immutable copy of
this with just the highSeverity
field changed. |
DefenderDetectedMalwareActions |
withLowSeverity(DefenderThreatAction lowSeverity)
Returns an immutable copy of
this with just the lowSeverity
field changed. |
DefenderDetectedMalwareActions |
withModerateSeverity(DefenderThreatAction moderateSeverity)
Returns an immutable copy of
this with just the moderateSeverity
field changed. |
DefenderDetectedMalwareActions |
withSevereSeverity(DefenderThreatAction severeSeverity)
Returns an immutable copy of
this with just the severeSeverity
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected DefenderThreatAction lowSeverity
protected DefenderThreatAction moderateSeverity
protected DefenderThreatAction highSeverity
protected DefenderThreatAction severeSeverity
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<DefenderThreatAction> getLowSeverity()
public DefenderDetectedMalwareActions withLowSeverity(DefenderThreatAction lowSeverity)
this with just the lowSeverity
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Indicates a Defender action to take for low severity Malware threat detected.”
lowSeverity - new value of lowSeverity field (as defined in service metadata)this with just the lowSeverity field changedpublic Optional<DefenderThreatAction> getModerateSeverity()
public DefenderDetectedMalwareActions withModerateSeverity(DefenderThreatAction moderateSeverity)
this with just the moderateSeverity
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Indicates a Defender action to take for moderate severity Malware threat detected.”
moderateSeverity - new value of moderateSeverity field (as defined in service metadata)this with just the moderateSeverity field changedpublic Optional<DefenderThreatAction> getHighSeverity()
public DefenderDetectedMalwareActions withHighSeverity(DefenderThreatAction highSeverity)
this with just the highSeverity
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Indicates a Defender action to take for high severity Malware threat detected.”
highSeverity - new value of highSeverity field (as defined in service metadata)this with just the highSeverity field changedpublic Optional<DefenderThreatAction> getSevereSeverity()
public DefenderDetectedMalwareActions withSevereSeverity(DefenderThreatAction severeSeverity)
this with just the severeSeverity
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Indicates a Defender action to take for severe severity Malware threat detected.”
severeSeverity - new value of severeSeverity field (as defined in service metadata)this with just the severeSeverity field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static DefenderDetectedMalwareActions.Builder builder()
Copyright © 2018–2020. All rights reserved.