Interface GetScanResponse.Builder

    • Method Detail

      • analysisType

        GetScanResponse.Builder analysisType​(String analysisType)

        The type of analysis CodeGuru Security performed in the scan, either Security or All. The Security type only generates findings related to security. The All type generates both security findings and quality findings.

        Parameters:
        analysisType - The type of analysis CodeGuru Security performed in the scan, either Security or All. The Security type only generates findings related to security. The All type generates both security findings and quality findings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalysisType, AnalysisType
      • analysisType

        GetScanResponse.Builder analysisType​(AnalysisType analysisType)

        The type of analysis CodeGuru Security performed in the scan, either Security or All. The Security type only generates findings related to security. The All type generates both security findings and quality findings.

        Parameters:
        analysisType - The type of analysis CodeGuru Security performed in the scan, either Security or All. The Security type only generates findings related to security. The All type generates both security findings and quality findings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalysisType, AnalysisType
      • createdAt

        GetScanResponse.Builder createdAt​(Instant createdAt)

        The time the scan was created.

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

        GetScanResponse.Builder numberOfRevisions​(Long numberOfRevisions)

        The number of times a scan has been re-run on a revised resource.

        Parameters:
        numberOfRevisions - The number of times a scan has been re-run on a revised resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • runId

        GetScanResponse.Builder runId​(String runId)

        UUID that identifies the individual scan run.

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

        GetScanResponse.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

        GetScanResponse.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

        GetScanResponse.Builder scanState​(String scanState)

        The current state of the scan. Pass either InProgress, Successful, or Failed.

        Parameters:
        scanState - The current state of the scan. Pass either InProgress, Successful, or Failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScanState, ScanState
      • scanState

        GetScanResponse.Builder scanState​(ScanState scanState)

        The current state of the scan. Pass either InProgress, Successful, or Failed.

        Parameters:
        scanState - The current state of the scan. Pass either InProgress, Successful, or Failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScanState, ScanState
      • updatedAt

        GetScanResponse.Builder updatedAt​(Instant updatedAt)

        The time when the scan was last updated. Only available for STANDARD scan types.

        Parameters:
        updatedAt - The time when the scan was last updated. Only available for STANDARD scan types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.