Interface CodeRepositoryOnDemandScan.Builder

  • Method Details

    • lastScanAt

      The timestamp when the last on-demand scan was performed.

      Parameters:
      lastScanAt - The timestamp when the last on-demand scan was performed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastScannedCommitId

      CodeRepositoryOnDemandScan.Builder lastScannedCommitId(String lastScannedCommitId)

      The ID of the last commit that was scanned during an on-demand scan.

      Parameters:
      lastScannedCommitId - The ID of the last commit that was scanned during an on-demand scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanStatus

      Sets the value of the ScanStatus property for this object.
      Parameters:
      scanStatus - The new value for the ScanStatus property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanStatus

      Sets the value of the ScanStatus property for this object. This is a convenience method that creates an instance of the ScanStatus.Builder avoiding the need to create one manually via ScanStatus.builder().

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

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