Class WindowsMalwareNameCount

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

    public class WindowsMalwareNameCount
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Malware name device count”
    • 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
      • malwareIdentifier

        protected String malwareIdentifier
    • Constructor Detail

      • WindowsMalwareNameCount

        protected WindowsMalwareNameCount()
    • 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 dectected for this malware”
        Returns:
        property deviceCount
      • withDeviceCount

        public WindowsMalwareNameCount 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 dectected for this malware”

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

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

        public WindowsMalwareNameCount 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
      • getMalwareIdentifier

        public Optional<String> getMalwareIdentifier()
        “The unique identifier. This is malware identifier”
        Returns:
        property malwareIdentifier
      • withMalwareIdentifier

        public WindowsMalwareNameCount withMalwareIdentifier​(String malwareIdentifier)
        Returns an immutable copy of this with just the malwareIdentifier 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 unique identifier. This is malware identifier”

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

        public Optional<String> getName()
        “Malware name”
        Returns:
        property name
      • withName

        public WindowsMalwareNameCount withName​(String name)
        Returns an immutable copy of this with just the name 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 name”

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