Package odata.msgraph.client.complex
Class DefenderDetectedMalwareActions
- java.lang.Object
-
- odata.msgraph.client.complex.DefenderDetectedMalwareActions
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DefenderDetectedMalwareActions extends Object implements com.github.davidmoten.odata.client.ODataType
“Specify Defender’s actions to take on detected Malware per threat level.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefenderDetectedMalwareActions.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected DefenderThreatActionhighSeverityprotected DefenderThreatActionlowSeverityprotected DefenderThreatActionmoderateSeverityprotected StringodataTypeprotected DefenderThreatActionsevereSeverityprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefenderDetectedMalwareActions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefenderDetectedMalwareActions.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DefenderDetectedMalwareActionswithHighSeverity(DefenderThreatAction highSeverity)Returns an immutable copy ofthiswith just thehighSeverityfield changed.DefenderDetectedMalwareActionswithLowSeverity(DefenderThreatAction lowSeverity)Returns an immutable copy ofthiswith just thelowSeverityfield changed.DefenderDetectedMalwareActionswithModerateSeverity(DefenderThreatAction moderateSeverity)Returns an immutable copy ofthiswith just themoderateSeverityfield changed.DefenderDetectedMalwareActionswithSevereSeverity(DefenderThreatAction severeSeverity)Returns an immutable copy ofthiswith just thesevereSeverityfield changed.DefenderDetectedMalwareActionswithUnmappedField(String name, String 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
-
highSeverity
protected DefenderThreatAction highSeverity
-
lowSeverity
protected DefenderThreatAction lowSeverity
-
moderateSeverity
protected DefenderThreatAction moderateSeverity
-
severeSeverity
protected DefenderThreatAction severeSeverity
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getHighSeverity
public Optional<DefenderThreatAction> getHighSeverity()
“Indicates a Defender action to take for high severity Malware threat detected.”- Returns:
- property highSeverity
-
withHighSeverity
public DefenderDetectedMalwareActions withHighSeverity(DefenderThreatAction highSeverity)
Returns an immutable copy ofthiswith just thehighSeverityfield 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.“Indicates a Defender action to take for high severity Malware threat detected.”
- Parameters:
highSeverity- new value ofhighSeverityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehighSeverityfield changed
-
getLowSeverity
public Optional<DefenderThreatAction> getLowSeverity()
“Indicates a Defender action to take for low severity Malware threat detected.”- Returns:
- property lowSeverity
-
withLowSeverity
public DefenderDetectedMalwareActions withLowSeverity(DefenderThreatAction lowSeverity)
Returns an immutable copy ofthiswith just thelowSeverityfield 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.“Indicates a Defender action to take for low severity Malware threat detected.”
- Parameters:
lowSeverity- new value oflowSeverityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelowSeverityfield changed
-
getModerateSeverity
public Optional<DefenderThreatAction> getModerateSeverity()
“Indicates a Defender action to take for moderate severity Malware threat detected.”- Returns:
- property moderateSeverity
-
withModerateSeverity
public DefenderDetectedMalwareActions withModerateSeverity(DefenderThreatAction moderateSeverity)
Returns an immutable copy ofthiswith just themoderateSeverityfield 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.“Indicates a Defender action to take for moderate severity Malware threat detected.”
- Parameters:
moderateSeverity- new value ofmoderateSeverityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themoderateSeverityfield changed
-
getSevereSeverity
public Optional<DefenderThreatAction> getSevereSeverity()
“Indicates a Defender action to take for severe severity Malware threat detected.”- Returns:
- property severeSeverity
-
withSevereSeverity
public DefenderDetectedMalwareActions withSevereSeverity(DefenderThreatAction severeSeverity)
Returns an immutable copy ofthiswith just thesevereSeverityfield 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.“Indicates a Defender action to take for severe severity Malware threat detected.”
- Parameters:
severeSeverity- new value ofsevereSeverityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesevereSeverityfield changed
-
withUnmappedField
public DefenderDetectedMalwareActions withUnmappedField(String name, String 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 DefenderDetectedMalwareActions.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
-
-