FilesScanSummary Class

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

Implements

public final class FilesScanSummary
implements JsonSerializable<FilesScanSummary>

A summary of the scan results of the files that were scanned.

Method Summary

Modifier and Type Method and Description
Long failedFilesCount()

Get the failedFilesCount property: The number of failed file scans.

static FilesScanSummary fromJson(JsonReader jsonReader)

Reads an instance of FilesScanSummary from the JsonReader.

Long maliciousFilesCount()

Get the maliciousFilesCount property: The number of malicious files that were detected during the scan.

Double scannedFilesInGB()

Get the scannedFilesInGB property: The number of gigabytes of data that were scanned.

Long skippedFilesCount()

Get the skippedFilesCount property: The number of files that were skipped.

JsonWriter toJson(JsonWriter jsonWriter)
Long totalFilesScanned()

Get the totalFilesScanned property: The total number of files that were scanned.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

failedFilesCount

public Long failedFilesCount()

Get the failedFilesCount property: The number of failed file scans.

Returns:

the failedFilesCount value.

fromJson

public static FilesScanSummary fromJson(JsonReader jsonReader)

Reads an instance of FilesScanSummary from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FilesScanSummary 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 FilesScanSummary.

maliciousFilesCount

public Long maliciousFilesCount()

Get the maliciousFilesCount property: The number of malicious files that were detected during the scan.

Returns:

the maliciousFilesCount value.

scannedFilesInGB

public Double scannedFilesInGB()

Get the scannedFilesInGB property: The number of gigabytes of data that were scanned.

Returns:

the scannedFilesInGB value.

skippedFilesCount

public Long skippedFilesCount()

Get the skippedFilesCount property: The number of files that were skipped.

Returns:

the skippedFilesCount value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalFilesScanned

public Long totalFilesScanned()

Get the totalFilesScanned property: The total number of files that were scanned.

Returns:

the totalFilesScanned value.

validate

public void validate()

Validates the instance.

Applies to