Interface CodeReviewType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CodeReviewType.Builder,CodeReviewType>,SdkBuilder<CodeReviewType.Builder,CodeReviewType>,SdkPojo
- Enclosing class:
- CodeReviewType
public static interface CodeReviewType.Builder extends SdkPojo, CopyableBuilder<CodeReviewType.Builder,CodeReviewType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CodeReviewType.BuilderanalysisTypes(Collection<AnalysisType> analysisTypes)They types of analysis performed during a repository analysis or a pull request review.CodeReviewType.BuilderanalysisTypes(AnalysisType... analysisTypes)They types of analysis performed during a repository analysis or a pull request review.CodeReviewType.BuilderanalysisTypesWithStrings(String... analysisTypes)They types of analysis performed during a repository analysis or a pull request review.CodeReviewType.BuilderanalysisTypesWithStrings(Collection<String> analysisTypes)They types of analysis performed during a repository analysis or a pull request review.default CodeReviewType.BuilderrepositoryAnalysis(Consumer<RepositoryAnalysis.Builder> repositoryAnalysis)A code review that analyzes all code under a specified branch in an associated repository.CodeReviewType.BuilderrepositoryAnalysis(RepositoryAnalysis repositoryAnalysis)A code review that analyzes all code under a specified branch in an associated repository.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
repositoryAnalysis
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.Builderavoiding the need to create one manually viaRepositoryAnalysis.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torepositoryAnalysis(RepositoryAnalysis).- Parameters:
repositoryAnalysis- a consumer that will call methods onRepositoryAnalysis.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
repositoryAnalysis(RepositoryAnalysis)
-
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 eitherSecurity,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 eitherSecurity,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 eitherSecurity,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 eitherSecurity,CodeQuality, or both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-