Interface GetPitrMalwareScanResultsResponse.Builder

  • Method Details

    • scanEndTime

      The point in time that was queried. This echoes back the time specified in the request.

      Parameters:
      scanEndTime - The point in time that was queried. This echoes back the time specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanResult

      Contains the ScanResultStatus for the scan and returns THREATS_FOUND, NO_THREATS_FOUND, or UNKNOWN.

      Parameters:
      scanResult - Contains the ScanResultStatus for the scan and returns THREATS_FOUND, NO_THREATS_FOUND, or UNKNOWN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanResult

      Contains the ScanResultStatus for the scan and returns THREATS_FOUND, NO_THREATS_FOUND, or UNKNOWN.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scanResult(ScanResultInfo).

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

      GetPitrMalwareScanResultsResponse.Builder lastScanJobTime(Instant lastScanJobTime)

      The completion time of the most recent scan job that covered the specified point in time.

      Parameters:
      lastScanJobTime - The completion time of the most recent scan job that covered the specified point in time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanId

      The scan ID generated by Amazon GuardDuty for the corresponding Scan Job ID request from Backup.

      Parameters:
      scanId - The scan ID generated by Amazon GuardDuty for the corresponding Scan Job ID request from Backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanMode

      Specifies the scan type used for the scan job.

      Parameters:
      scanMode - Specifies the scan type used for the scan job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanMode

      Specifies the scan type used for the scan job.

      Parameters:
      scanMode - Specifies the scan type used for the scan job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: