Class SoftwareProperties

java.lang.Object
com.azure.resourcemanager.security.fluent.models.SoftwareProperties

public final class SoftwareProperties extends Object
Software Inventory resource properties.
  • Constructor Details

    • SoftwareProperties

      public SoftwareProperties()
  • Method Details

    • deviceId

      public String deviceId()
      Get the deviceId property: Unique identifier for the virtual machine in the service.
      Returns:
      the deviceId value.
    • withDeviceId

      public SoftwareProperties withDeviceId(String deviceId)
      Set the deviceId property: Unique identifier for the virtual machine in the service.
      Parameters:
      deviceId - the deviceId value to set.
      Returns:
      the SoftwareProperties object itself.
    • osPlatform

      public String osPlatform()
      Get the osPlatform property: Platform of the operating system running on the device.
      Returns:
      the osPlatform value.
    • withOsPlatform

      public SoftwareProperties withOsPlatform(String osPlatform)
      Set the osPlatform property: Platform of the operating system running on the device.
      Parameters:
      osPlatform - the osPlatform value to set.
      Returns:
      the SoftwareProperties object itself.
    • vendor

      public String vendor()
      Get the vendor property: Name of the software vendor.
      Returns:
      the vendor value.
    • withVendor

      public SoftwareProperties withVendor(String vendor)
      Set the vendor property: Name of the software vendor.
      Parameters:
      vendor - the vendor value to set.
      Returns:
      the SoftwareProperties object itself.
    • softwareName

      public String softwareName()
      Get the softwareName property: Name of the software product.
      Returns:
      the softwareName value.
    • withSoftwareName

      public SoftwareProperties withSoftwareName(String softwareName)
      Set the softwareName property: Name of the software product.
      Parameters:
      softwareName - the softwareName value to set.
      Returns:
      the SoftwareProperties object itself.
    • version

      public String version()
      Get the version property: Version number of the software product.
      Returns:
      the version value.
    • withVersion

      public SoftwareProperties withVersion(String version)
      Set the version property: Version number of the software product.
      Parameters:
      version - the version value to set.
      Returns:
      the SoftwareProperties object itself.
    • endOfSupportStatus

      public EndOfSupportStatus endOfSupportStatus()
      Get the endOfSupportStatus property: End of support status.
      Returns:
      the endOfSupportStatus value.
    • withEndOfSupportStatus

      public SoftwareProperties withEndOfSupportStatus(EndOfSupportStatus endOfSupportStatus)
      Set the endOfSupportStatus property: End of support status.
      Parameters:
      endOfSupportStatus - the endOfSupportStatus value to set.
      Returns:
      the SoftwareProperties object itself.
    • endOfSupportDate

      public String endOfSupportDate()
      Get the endOfSupportDate property: The end of support date in case the product is upcoming end of support.
      Returns:
      the endOfSupportDate value.
    • withEndOfSupportDate

      public SoftwareProperties withEndOfSupportDate(String endOfSupportDate)
      Set the endOfSupportDate property: The end of support date in case the product is upcoming end of support.
      Parameters:
      endOfSupportDate - the endOfSupportDate value to set.
      Returns:
      the SoftwareProperties object itself.
    • numberOfKnownVulnerabilities

      public Integer numberOfKnownVulnerabilities()
      Get the numberOfKnownVulnerabilities property: Number of weaknesses.
      Returns:
      the numberOfKnownVulnerabilities value.
    • withNumberOfKnownVulnerabilities

      public SoftwareProperties withNumberOfKnownVulnerabilities(Integer numberOfKnownVulnerabilities)
      Set the numberOfKnownVulnerabilities property: Number of weaknesses.
      Parameters:
      numberOfKnownVulnerabilities - the numberOfKnownVulnerabilities value to set.
      Returns:
      the SoftwareProperties object itself.
    • firstSeenAt

      public String firstSeenAt()
      Get the firstSeenAt property: First time that the software was seen in the device.
      Returns:
      the firstSeenAt value.
    • withFirstSeenAt

      public SoftwareProperties withFirstSeenAt(String firstSeenAt)
      Set the firstSeenAt property: First time that the software was seen in the device.
      Parameters:
      firstSeenAt - the firstSeenAt value to set.
      Returns:
      the SoftwareProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.