MalwareScanProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.MalwareScanProperties

Implements

public final class MalwareScanProperties
implements JsonSerializable<MalwareScanProperties>

The MalwareScanProperties model.

Method Summary

Modifier and Type Method and Description
static MalwareScanProperties fromJson(JsonReader jsonReader)

Reads an instance of MalwareScanProperties from the JsonReader.

String scanEndTime()

Get the scanEndTime property: The time at which the scan has ended.

String scanId()

Get the scanId property: The identifier of the scan.

String scanStartTime()

Get the scanStartTime property: The time at which the scan had been initiated.

String scanStatus()

Get the scanStatus property: A status code of the scan operation.

String scanStatusMessage()

Get the scanStatusMessage property: A description of the status of the scan.

ScanSummary scanSummary()

Get the scanSummary property: A summary of the scan results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static MalwareScanProperties fromJson(JsonReader jsonReader)

Reads an instance of MalwareScanProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the MalwareScanProperties.

scanEndTime

public String scanEndTime()

Get the scanEndTime property: The time at which the scan has ended. Only available for a scan which has terminated.

Returns:

the scanEndTime value.

scanId

public String scanId()

Get the scanId property: The identifier of the scan.

Returns:

the scanId value.

scanStartTime

public String scanStartTime()

Get the scanStartTime property: The time at which the scan had been initiated.

Returns:

the scanStartTime value.

scanStatus

public String scanStatus()

Get the scanStatus property: A status code of the scan operation.

Returns:

the scanStatus value.

scanStatusMessage

public String scanStatusMessage()

Get the scanStatusMessage property: A description of the status of the scan.

Returns:

the scanStatusMessage value.

scanSummary

public ScanSummary scanSummary()

Get the scanSummary property: A summary of the scan results.

Returns:

the scanSummary value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to