Class SoftwareProperties
java.lang.Object
com.azure.resourcemanager.security.fluent.models.SoftwareProperties
Software Inventory resource properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeviceId()
Get the deviceId property: Unique identifier for the virtual machine in the service.Get the endOfSupportDate property: The end of support date in case the product is upcoming end of support.Get the endOfSupportStatus property: End of support status.Get the firstSeenAt property: First time that the software was seen in the device.Get the numberOfKnownVulnerabilities property: Number of weaknesses.Get the osPlatform property: Platform of the operating system running on the device.Get the softwareName property: Name of the software product.void
validate()
Validates the instance.vendor()
Get the vendor property: Name of the software vendor.version()
Get the version property: Version number of the software product.withDeviceId
(String deviceId) Set the deviceId property: Unique identifier for the virtual machine in the service.withEndOfSupportDate
(String endOfSupportDate) Set the endOfSupportDate property: The end of support date in case the product is upcoming end of support.withEndOfSupportStatus
(EndOfSupportStatus endOfSupportStatus) Set the endOfSupportStatus property: End of support status.withFirstSeenAt
(String firstSeenAt) Set the firstSeenAt property: First time that the software was seen in the device.withNumberOfKnownVulnerabilities
(Integer numberOfKnownVulnerabilities) Set the numberOfKnownVulnerabilities property: Number of weaknesses.withOsPlatform
(String osPlatform) Set the osPlatform property: Platform of the operating system running on the device.withSoftwareName
(String softwareName) Set the softwareName property: Name of the software product.withVendor
(String vendor) Set the vendor property: Name of the software vendor.withVersion
(String version) Set the version property: Version number of the software product.
-
Constructor Details
-
SoftwareProperties
public SoftwareProperties()
-
-
Method Details
-
deviceId
Get the deviceId property: Unique identifier for the virtual machine in the service.- Returns:
- the deviceId value.
-
withDeviceId
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
Get the osPlatform property: Platform of the operating system running on the device.- Returns:
- the osPlatform value.
-
withOsPlatform
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
Get the vendor property: Name of the software vendor.- Returns:
- the vendor value.
-
withVendor
Set the vendor property: Name of the software vendor.- Parameters:
vendor
- the vendor value to set.- Returns:
- the SoftwareProperties object itself.
-
softwareName
Get the softwareName property: Name of the software product.- Returns:
- the softwareName value.
-
withSoftwareName
Set the softwareName property: Name of the software product.- Parameters:
softwareName
- the softwareName value to set.- Returns:
- the SoftwareProperties object itself.
-
version
Get the version property: Version number of the software product.- Returns:
- the version value.
-
withVersion
Set the version property: Version number of the software product.- Parameters:
version
- the version value to set.- Returns:
- the SoftwareProperties object itself.
-
endOfSupportStatus
Get the endOfSupportStatus property: End of support status.- Returns:
- the endOfSupportStatus value.
-
withEndOfSupportStatus
Set the endOfSupportStatus property: End of support status.- Parameters:
endOfSupportStatus
- the endOfSupportStatus value to set.- Returns:
- the SoftwareProperties object itself.
-
endOfSupportDate
Get the endOfSupportDate property: The end of support date in case the product is upcoming end of support.- Returns:
- the endOfSupportDate value.
-
withEndOfSupportDate
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
Get the numberOfKnownVulnerabilities property: Number of weaknesses.- Returns:
- the numberOfKnownVulnerabilities value.
-
withNumberOfKnownVulnerabilities
Set the numberOfKnownVulnerabilities property: Number of weaknesses.- Parameters:
numberOfKnownVulnerabilities
- the numberOfKnownVulnerabilities value to set.- Returns:
- the SoftwareProperties object itself.
-
firstSeenAt
Get the firstSeenAt property: First time that the software was seen in the device.- Returns:
- the firstSeenAt value.
-
withFirstSeenAt
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.
-