Class WindowsMalwareSeverityCount

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class WindowsMalwareSeverityCount
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Windows Malware Severity Count Summary”
    • 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
      • distinctMalwareCount

        protected Integer distinctMalwareCount
      • malwareDetectionCount

        protected Integer malwareDetectionCount
    • Constructor Detail

      • WindowsMalwareSeverityCount

        protected WindowsMalwareSeverityCount()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getDistinctMalwareCount

        public Optional<Integer> getDistinctMalwareCount()
        “Count of distinct malwares for this malware State. Valid values -2147483648 to 2147483647”
        Returns:
        property distinctMalwareCount
      • withDistinctMalwareCount

        public WindowsMalwareSeverityCount withDistinctMalwareCount​(Integer distinctMalwareCount)
        Returns an immutable copy of this with just the distinctMalwareCount 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.

        “Count of distinct malwares for this malware State. Valid values -2147483648 to 2147483647”

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

        public Optional<OffsetDateTime> getLastUpdateDateTime()
        “The Timestamp of the last update for the WindowsMalwareSeverityCount in UTC”
        Returns:
        property lastUpdateDateTime
      • withLastUpdateDateTime

        public WindowsMalwareSeverityCount withLastUpdateDateTime​(OffsetDateTime lastUpdateDateTime)
        Returns an immutable copy of this with just the lastUpdateDateTime 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.

        “The Timestamp of the last update for the WindowsMalwareSeverityCount in UTC”

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

        public Optional<Integer> getMalwareDetectionCount()
        “Count of threats detections for this malware severity. Valid values -2147483648 to 2147483647”
        Returns:
        property malwareDetectionCount
      • withMalwareDetectionCount

        public WindowsMalwareSeverityCount withMalwareDetectionCount​(Integer malwareDetectionCount)
        Returns an immutable copy of this with just the malwareDetectionCount 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.

        “Count of threats detections for this malware severity. Valid values -2147483648 to 2147483647”

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

        public Optional<WindowsMalwareSeverity> getSeverity()
        “Malware Threat Severity. computed. Possible values are: unknown, low, moderate, high, severe.”
        Returns:
        property severity
      • withSeverity

        public WindowsMalwareSeverityCount withSeverity​(WindowsMalwareSeverity severity)
        Returns an immutable copy of this with just the severity 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.

        “Malware Threat Severity. computed. Possible values are: unknown, low, moderate, high, severe.”

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