Class WindowsMalwareStateCount

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

    public class WindowsMalwareStateCount
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Windows Malware State 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
      • deviceCount

        protected Integer deviceCount
      • distinctMalwareCount

        protected Integer distinctMalwareCount
      • malwareDetectionCount

        protected Integer malwareDetectionCount
    • Constructor Detail

      • WindowsMalwareStateCount

        protected WindowsMalwareStateCount()
    • Method Detail

      • odataTypeName

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

        public Optional<Integer> getDeviceCount()
        “Count of devices with malware detections for this malware State”
        Returns:
        property deviceCount
      • withDeviceCount

        public WindowsMalwareStateCount withDeviceCount​(Integer deviceCount)
        Returns an immutable copy of this with just the deviceCount 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 devices with malware detections for this malware State”

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

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

        public WindowsMalwareStateCount 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 device count in UTC”
        Returns:
        property lastUpdateDateTime
      • withLastUpdateDateTime

        public WindowsMalwareStateCount 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 device count 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 total malware detections for this malware State. Valid values - 2147483648 to 2147483647”
        Returns:
        property malwareDetectionCount
      • withMalwareDetectionCount

        public WindowsMalwareStateCount 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 total malware detections for this malware State. 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
      • getState

        public Optional<WindowsMalwareThreatState> getState()
        “Malware Threat State. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. Defaults to noStatusCleared. Computed.”
        Returns:
        property state
      • withState

        public WindowsMalwareStateCount withState​(WindowsMalwareThreatState state)
        Returns an immutable copy of this with just the state 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 State. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. Defaults to noStatusCleared. Computed.”

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