SoftwareInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. SoftwareInner
- com.
- com.
public final class SoftwareInner
extends ProxyResource
Represents a software data.
Constructor Summary
Constructor | Description |
---|---|
SoftwareInner() |
Creates an instance of Software |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
deviceId()
Get the device |
String |
endOfSupportDate()
Get the end |
End |
endOfSupportStatus()
Get the end |
String |
firstSeenAt()
Get the first |
static
Software |
fromJson(JsonReader jsonReader)
Reads an instance of Software |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Integer |
numberOfKnownVulnerabilities()
Get the number |
String |
osPlatform()
Get the os |
String |
softwareName()
Get the software |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
String |
vendor()
Get the vendor property: Name of the software vendor. |
String |
version()
Get the version property: Version number of the software product. |
Software |
withDeviceId(String deviceId)
Set the device |
Software |
withEndOfSupportDate(String endOfSupportDate)
Set the end |
Software |
withEndOfSupportStatus(EndOfSupportStatus endOfSupportStatus)
Set the end |
Software |
withFirstSeenAt(String firstSeenAt)
Set the first |
Software |
withNumberOfKnownVulnerabilities(Integer numberOfKnownVulnerabilities)
Set the number |
Software |
withOsPlatform(String osPlatform)
Set the os |
Software |
withSoftwareName(String softwareName)
Set the software |
Software |
withVendor(String vendor)
Set the vendor property: Name of the software vendor. |
Software |
withVersion(String version)
Set the version property: Version number of the software product. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SoftwareInner
public SoftwareInner()
Creates an instance of SoftwareInner class.
Method Details
deviceId
public String deviceId()
Get the deviceId property: Unique identifier for the virtual machine in the service.
Returns:
endOfSupportDate
public String endOfSupportDate()
Get the endOfSupportDate property: The end of support date in case the product is upcoming end of support.
Returns:
endOfSupportStatus
public EndOfSupportStatus endOfSupportStatus()
Get the endOfSupportStatus property: End of support status.
Returns:
firstSeenAt
public String firstSeenAt()
Get the firstSeenAt property: First time that the software was seen in the device.
Returns:
fromJson
public static SoftwareInner fromJson(JsonReader jsonReader)
Reads an instance of SoftwareInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SoftwareInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SoftwareInner.name()Returns:
numberOfKnownVulnerabilities
public Integer numberOfKnownVulnerabilities()
Get the numberOfKnownVulnerabilities property: Number of weaknesses.
Returns:
osPlatform
public String osPlatform()
Get the osPlatform property: Platform of the operating system running on the device.
Returns:
softwareName
public String softwareName()
Get the softwareName property: Name of the software product.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SoftwareInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SoftwareInner.type()Returns:
validate
public void validate()
Validates the instance.
vendor
public String vendor()
Get the vendor property: Name of the software vendor.
Returns:
version
public String version()
Get the version property: Version number of the software product.
Returns:
withDeviceId
public SoftwareInner withDeviceId(String deviceId)
Set the deviceId property: Unique identifier for the virtual machine in the service.
Parameters:
Returns:
withEndOfSupportDate
public SoftwareInner withEndOfSupportDate(String endOfSupportDate)
Set the endOfSupportDate property: The end of support date in case the product is upcoming end of support.
Parameters:
Returns:
withEndOfSupportStatus
public SoftwareInner withEndOfSupportStatus(EndOfSupportStatus endOfSupportStatus)
Set the endOfSupportStatus property: End of support status.
Parameters:
Returns:
withFirstSeenAt
public SoftwareInner withFirstSeenAt(String firstSeenAt)
Set the firstSeenAt property: First time that the software was seen in the device.
Parameters:
Returns:
withNumberOfKnownVulnerabilities
public SoftwareInner withNumberOfKnownVulnerabilities(Integer numberOfKnownVulnerabilities)
Set the numberOfKnownVulnerabilities property: Number of weaknesses.
Parameters:
Returns:
withOsPlatform
public SoftwareInner withOsPlatform(String osPlatform)
Set the osPlatform property: Platform of the operating system running on the device.
Parameters:
Returns:
withSoftwareName
public SoftwareInner withSoftwareName(String softwareName)
Set the softwareName property: Name of the software product.
Parameters:
Returns:
withVendor
public SoftwareInner withVendor(String vendor)
Set the vendor property: Name of the software vendor.
Parameters:
Returns:
withVersion
public SoftwareInner withVersion(String version)
Set the version property: Version number of the software product.
Parameters:
Returns: