Class 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.”
    • 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
    • Constructor Detail

      • DefenderDetectedMalwareActions

        protected DefenderDetectedMalwareActions()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.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 of 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.”

        Parameters:
        highSeverity - new value of highSeverity field (as defined in service metadata)
        Returns:
        immutable copy of this with just the highSeverity field 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 of 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.”

        Parameters:
        lowSeverity - new value of lowSeverity field (as defined in service metadata)
        Returns:
        immutable copy of this with just the lowSeverity field 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 of 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.”

        Parameters:
        moderateSeverity - new value of moderateSeverity field (as defined in service metadata)
        Returns:
        immutable copy of this with just the moderateSeverity field 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 of 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.”

        Parameters:
        severeSeverity - new value of severeSeverity field (as defined in service metadata)
        Returns:
        immutable copy of this with just the severeSeverity field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.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