public static interface CodeReviewType.Builder extends SdkPojo, CopyableBuilder<CodeReviewType.Builder,CodeReviewType>
| Modifier and Type | Method and Description |
|---|---|
CodeReviewType.Builder |
analysisTypes(AnalysisType... analysisTypes)
They types of analysis performed during a repository analysis or a pull request review.
|
CodeReviewType.Builder |
analysisTypes(Collection<AnalysisType> analysisTypes)
They types of analysis performed during a repository analysis or a pull request review.
|
CodeReviewType.Builder |
analysisTypesWithStrings(Collection<String> analysisTypes)
They types of analysis performed during a repository analysis or a pull request review.
|
CodeReviewType.Builder |
analysisTypesWithStrings(String... analysisTypes)
They types of analysis performed during a repository analysis or a pull request review.
|
default CodeReviewType.Builder |
repositoryAnalysis(Consumer<RepositoryAnalysis.Builder> repositoryAnalysis)
A code review that analyzes all code under a specified branch in an associated repository.
|
CodeReviewType.Builder |
repositoryAnalysis(RepositoryAnalysis repositoryAnalysis)
A code review that analyzes all code under a specified branch in an associated repository.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCodeReviewType.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.
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.default CodeReviewType.Builder repositoryAnalysis(Consumer<RepositoryAnalysis.Builder> 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.
This is a convenience method that creates an instance of theRepositoryAnalysis.Builder avoiding the
need to create one manually via RepositoryAnalysis.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to repositoryAnalysis(RepositoryAnalysis).
repositoryAnalysis - a consumer that will call methods on RepositoryAnalysis.BuilderrepositoryAnalysis(RepositoryAnalysis)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.
analysisTypes - They types of analysis performed during a repository analysis or a pull request review. You can
specify either Security, CodeQuality, or both.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.
analysisTypes - They types of analysis performed during a repository analysis or a pull request review. You can
specify either Security, CodeQuality, or both.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.
analysisTypes - They types of analysis performed during a repository analysis or a pull request review. You can
specify either Security, CodeQuality, or both.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.
analysisTypes - They types of analysis performed during a repository analysis or a pull request review. You can
specify either Security, CodeQuality, or both.Copyright © 2023. All rights reserved.