Interface ResourceScanSummary.Builder

  • Method Details

    • resourceScanId

      ResourceScanSummary.Builder resourceScanId(String resourceScanId)

      The Amazon Resource Name (ARN) of the resource scan.

      Parameters:
      resourceScanId - The Amazon Resource Name (ARN) of the resource scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Status of the resource scan.

      IN_PROGRESS

      The resource scan is still in progress.

      COMPLETE

      The resource scan is complete.

      EXPIRED

      The resource scan has expired.

      FAILED

      The resource scan has failed.

      Parameters:
      status - Status of the resource scan.

      IN_PROGRESS

      The resource scan is still in progress.

      COMPLETE

      The resource scan is complete.

      EXPIRED

      The resource scan has expired.

      FAILED

      The resource scan has failed.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Status of the resource scan.

      IN_PROGRESS

      The resource scan is still in progress.

      COMPLETE

      The resource scan is complete.

      EXPIRED

      The resource scan has expired.

      FAILED

      The resource scan has failed.

      Parameters:
      status - Status of the resource scan.

      IN_PROGRESS

      The resource scan is still in progress.

      COMPLETE

      The resource scan is complete.

      EXPIRED

      The resource scan has expired.

      FAILED

      The resource scan has failed.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      ResourceScanSummary.Builder statusReason(String statusReason)

      The reason for the resource scan status, providing more information if a failure happened.

      Parameters:
      statusReason - The reason for the resource scan status, providing more information if a failure happened.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      ResourceScanSummary.Builder startTime(Instant startTime)

      The time that the resource scan was started.

      Parameters:
      startTime - The time that the resource scan was started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The time that the resource scan was finished.

      Parameters:
      endTime - The time that the resource scan was finished.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • percentageCompleted

      ResourceScanSummary.Builder percentageCompleted(Double percentageCompleted)

      The percentage of the resource scan that has been completed.

      Parameters:
      percentageCompleted - The percentage of the resource scan that has been completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanType

      ResourceScanSummary.Builder scanType(String scanType)

      The scan type that has been completed.

      Parameters:
      scanType - The scan type that has been completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanType

      The scan type that has been completed.

      Parameters:
      scanType - The scan type that has been completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: