Interface ScanSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ScanSummary.Builder,ScanSummary>, SdkBuilder<ScanSummary.Builder,ScanSummary>, SdkPojo
Enclosing class:
ScanSummary

public static interface ScanSummary.Builder extends SdkPojo, CopyableBuilder<ScanSummary.Builder,ScanSummary>
  • Method Details

    • createdAt

      ScanSummary.Builder createdAt(Instant createdAt)

      The time when the scan was created.

      Parameters:
      createdAt - The time when the scan was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runId

      The identifier for the scan run.

      Parameters:
      runId - The identifier for the scan run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanName

      ScanSummary.Builder scanName(String scanName)

      The name of the scan.

      Parameters:
      scanName - The name of the scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanNameArn

      ScanSummary.Builder scanNameArn(String scanNameArn)

      The ARN for the scan name.

      Parameters:
      scanNameArn - The ARN for the scan name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanState

      ScanSummary.Builder scanState(String scanState)

      The state of the scan. A scan can be In Progress, Complete, or Failed.

      Parameters:
      scanState - The state of the scan. A scan can be In Progress, Complete, or Failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanState

      ScanSummary.Builder scanState(ScanState scanState)

      The state of the scan. A scan can be In Progress, Complete, or Failed.

      Parameters:
      scanState - The state of the scan. A scan can be In Progress, Complete, or Failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedAt

      ScanSummary.Builder updatedAt(Instant updatedAt)

      The time the scan was last updated. A scan is updated when it is re-run.

      Parameters:
      updatedAt - The time the scan was last updated. A scan is updated when it is re-run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.