Interface ScanSummary.Builder

    • Method Detail

      • 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

        ScanSummary.Builder runId​(String 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, ScanState
      • 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:
        ScanState, ScanState
      • 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.