Interface CodeReviewType.Builder

    • Method Detail

      • repositoryAnalysis

        CodeReviewType.Builder repositoryAnalysis​(RepositoryAnalysis repositoryAnalysis)

        A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview.

        Parameters:
        repositoryAnalysis - A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • analysisTypesWithStrings

        CodeReviewType.Builder analysisTypesWithStrings​(Collection<String> analysisTypes)

        They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

        Parameters:
        analysisTypes - They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • analysisTypesWithStrings

        CodeReviewType.Builder analysisTypesWithStrings​(String... analysisTypes)

        They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

        Parameters:
        analysisTypes - They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • analysisTypes

        CodeReviewType.Builder analysisTypes​(Collection<AnalysisType> analysisTypes)

        They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

        Parameters:
        analysisTypes - They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • analysisTypes

        CodeReviewType.Builder analysisTypes​(AnalysisType... analysisTypes)

        They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

        Parameters:
        analysisTypes - They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.