Interface CodeScanSummary.Builder

  • Method Details

    • scanRunId

      CodeScanSummary.Builder scanRunId(String scanRunId)

      The unique scan identifier.

      Parameters:
      scanRunId - The unique scan identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Current customer-visible status.

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

      Current customer-visible status.

      Parameters:
      status - Current customer-visible status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • origin

      Why the scan was created. Always present.

      Parameters:
      origin - Why the scan was created. Always present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • origin

      Why the scan was created. Always present.

      Parameters:
      origin - Why the scan was created. Always present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      CodeScanSummary.Builder createdAt(Instant createdAt)

      Time at which Continuum accepted the scan request.

      Parameters:
      createdAt - Time at which Continuum accepted the scan request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedAt

      CodeScanSummary.Builder completedAt(Instant completedAt)

      Time at which a terminal result was recorded.

      Parameters:
      completedAt - Time at which a terminal result was recorded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureMessage

      CodeScanSummary.Builder failureMessage(String failureMessage)

      Failure detail present for unsuccessful scans.

      Parameters:
      failureMessage - Failure detail present for unsuccessful scans.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureStage

      CodeScanSummary.Builder failureStage(String failureStage)

      Phase this scan failed in. Present only when status is FAILED, and absent for a scan that failed before this field existed.

      Parameters:
      failureStage - Phase this scan failed in. Present only when status is FAILED, and absent for a scan that failed before this field existed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureStage

      CodeScanSummary.Builder failureStage(ScanFailureStage failureStage)

      Phase this scan failed in. Present only when status is FAILED, and absent for a scan that failed before this field existed.

      Parameters:
      failureStage - Phase this scan failed in. Present only when status is FAILED, and absent for a scan that failed before this field existed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: