次の方法で共有


SoftwareInner Class

public final class SoftwareInner
extends ProxyResource

Represents a software data.

Constructor Summary

Constructor Description
SoftwareInner()

Creates an instance of SoftwareInner class.

Method Summary

Modifier and Type Method and Description
String deviceId()

Get the deviceId property: Unique identifier for the virtual machine in the service.

String endOfSupportDate()

Get the endOfSupportDate property: The end of support date in case the product is upcoming end of support.

EndOfSupportStatus endOfSupportStatus()

Get the endOfSupportStatus property: End of support status.

String firstSeenAt()

Get the firstSeenAt property: First time that the software was seen in the device.

static SoftwareInner fromJson(JsonReader jsonReader)

Reads an instance of SoftwareInner from the JsonReader.

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 numberOfKnownVulnerabilities property: Number of weaknesses.

String osPlatform()

Get the osPlatform property: Platform of the operating system running on the device.

String softwareName()

Get the softwareName property: Name of the software product.

JsonWriter 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.

SoftwareInner withDeviceId(String deviceId)

Set the deviceId property: Unique identifier for the virtual machine in the service.

SoftwareInner withEndOfSupportDate(String endOfSupportDate)

Set the endOfSupportDate property: The end of support date in case the product is upcoming end of support.

SoftwareInner withEndOfSupportStatus(EndOfSupportStatus endOfSupportStatus)

Set the endOfSupportStatus property: End of support status.

SoftwareInner withFirstSeenAt(String firstSeenAt)

Set the firstSeenAt property: First time that the software was seen in the device.

SoftwareInner withNumberOfKnownVulnerabilities(Integer numberOfKnownVulnerabilities)

Set the numberOfKnownVulnerabilities property: Number of weaknesses.

SoftwareInner withOsPlatform(String osPlatform)

Set the osPlatform property: Platform of the operating system running on the device.

SoftwareInner withSoftwareName(String softwareName)

Set the softwareName property: Name of the software product.

SoftwareInner withVendor(String vendor)

Set the vendor property: Name of the software vendor.

SoftwareInner 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:

the deviceId value.

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.

endOfSupportStatus

public EndOfSupportStatus endOfSupportStatus()

Get the endOfSupportStatus property: End of support status.

Returns:

the endOfSupportStatus value.

firstSeenAt

public String firstSeenAt()

Get the firstSeenAt property: First time that the software was seen in the device.

Returns:

the firstSeenAt value.

fromJson

public static SoftwareInner fromJson(JsonReader jsonReader)

Reads an instance of SoftwareInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SoftwareInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SoftwareInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SoftwareInner.name()

Returns:

the name value.

numberOfKnownVulnerabilities

public Integer numberOfKnownVulnerabilities()

Get the numberOfKnownVulnerabilities property: Number of weaknesses.

Returns:

the numberOfKnownVulnerabilities value.

osPlatform

public String osPlatform()

Get the osPlatform property: Platform of the operating system running on the device.

Returns:

the osPlatform value.

softwareName

public String softwareName()

Get the softwareName property: Name of the software product.

Returns:

the softwareName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SoftwareInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SoftwareInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

vendor

public String vendor()

Get the vendor property: Name of the software vendor.

Returns:

the vendor value.

version

public String version()

Get the version property: Version number of the software product.

Returns:

the version value.

withDeviceId

public SoftwareInner 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 SoftwareInner object itself.

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:

endOfSupportDate - the endOfSupportDate value to set.

Returns:

the SoftwareInner object itself.

withEndOfSupportStatus

public SoftwareInner withEndOfSupportStatus(EndOfSupportStatus endOfSupportStatus)

Set the endOfSupportStatus property: End of support status.

Parameters:

endOfSupportStatus - the endOfSupportStatus value to set.

Returns:

the SoftwareInner object itself.

withFirstSeenAt

public SoftwareInner 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 SoftwareInner object itself.

withNumberOfKnownVulnerabilities

public SoftwareInner withNumberOfKnownVulnerabilities(Integer numberOfKnownVulnerabilities)

Set the numberOfKnownVulnerabilities property: Number of weaknesses.

Parameters:

numberOfKnownVulnerabilities - the numberOfKnownVulnerabilities value to set.

Returns:

the SoftwareInner object itself.

withOsPlatform

public SoftwareInner 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 SoftwareInner object itself.

withSoftwareName

public SoftwareInner withSoftwareName(String softwareName)

Set the softwareName property: Name of the software product.

Parameters:

softwareName - the softwareName value to set.

Returns:

the SoftwareInner object itself.

withVendor

public SoftwareInner withVendor(String vendor)

Set the vendor property: Name of the software vendor.

Parameters:

vendor - the vendor value to set.

Returns:

the SoftwareInner object itself.

withVersion

public SoftwareInner withVersion(String version)

Set the version property: Version number of the software product.

Parameters:

version - the version value to set.

Returns:

the SoftwareInner object itself.

Applies to