Interface GetMalwareScanResultDetails.Builder

  • Method Details

    • scanResultStatus

      GetMalwareScanResultDetails.Builder scanResultStatus(String scanResultStatus)

      Status indicating whether threats were found for a completed scan.

      Parameters:
      scanResultStatus - Status indicating whether threats were found for a completed scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanResultStatus

      GetMalwareScanResultDetails.Builder scanResultStatus(ScanResultStatus scanResultStatus)

      Status indicating whether threats were found for a completed scan.

      Parameters:
      scanResultStatus - Status indicating whether threats were found for a completed scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • skippedFileCount

      GetMalwareScanResultDetails.Builder skippedFileCount(Long skippedFileCount)

      The total number of files that were skipped during the scan.

      Parameters:
      skippedFileCount - The total number of files that were skipped during the scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedFileCount

      GetMalwareScanResultDetails.Builder failedFileCount(Long failedFileCount)

      The total number of files that failed to be scanned.

      Parameters:
      failedFileCount - The total number of files that failed to be scanned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • threatFoundFileCount

      GetMalwareScanResultDetails.Builder threatFoundFileCount(Long threatFoundFileCount)

      The total number of files in which threats were detected.

      Parameters:
      threatFoundFileCount - The total number of files in which threats were detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalFileCount

      GetMalwareScanResultDetails.Builder totalFileCount(Long totalFileCount)

      The total number of files that were processed during the scan.

      Parameters:
      totalFileCount - The total number of files that were processed during the scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalBytes

      GetMalwareScanResultDetails.Builder totalBytes(Long totalBytes)

      The total number of bytes that were scanned.

      Parameters:
      totalBytes - The total number of bytes that were scanned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uniqueThreatCount

      GetMalwareScanResultDetails.Builder uniqueThreatCount(Long uniqueThreatCount)

      The total number of unique threats that were detected during the scan.

      Parameters:
      uniqueThreatCount - The total number of unique threats that were detected during the scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • threats

      The threats that were detected during the malware scan.

      Parameters:
      threats - The threats that were detected during the malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • threats

      The threats that were detected during the malware scan.

      Parameters:
      threats - The threats that were detected during the malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • threats

      The threats that were detected during the malware scan.

      This is a convenience method that creates an instance of the ScanResultThreat.Builder avoiding the need to create one manually via ScanResultThreat.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to threats(List<ScanResultThreat>).

      Parameters:
      threats - a consumer that will call methods on ScanResultThreat.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: