public static interface CodeReview.Builder extends SdkPojo, CopyableBuilder<CodeReview.Builder,CodeReview>
| Modifier and Type | Method and Description |
|---|---|
CodeReview.Builder |
analysisTypes(AnalysisType... analysisTypes)
The types of analysis performed during a repository analysis or a pull request review.
|
CodeReview.Builder |
analysisTypes(Collection<AnalysisType> analysisTypes)
The types of analysis performed during a repository analysis or a pull request review.
|
CodeReview.Builder |
analysisTypesWithStrings(Collection<String> analysisTypes)
The types of analysis performed during a repository analysis or a pull request review.
|
CodeReview.Builder |
analysisTypesWithStrings(String... analysisTypes)
The types of analysis performed during a repository analysis or a pull request review.
|
CodeReview.Builder |
associationArn(String associationArn)
The Amazon Resource Name (ARN) of the RepositoryAssociation that contains the reviewed source code.
|
CodeReview.Builder |
codeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the CodeReview object.
|
CodeReview.Builder |
configFileState(ConfigFileState configFileState)
The state of the
aws-codeguru-reviewer.yml configuration file that allows the configuration of
the CodeGuru Reviewer analysis. |
CodeReview.Builder |
configFileState(String configFileState)
The state of the
aws-codeguru-reviewer.yml configuration file that allows the configuration of
the CodeGuru Reviewer analysis. |
CodeReview.Builder |
createdTimeStamp(Instant createdTimeStamp)
The time, in milliseconds since the epoch, when the code review was created.
|
CodeReview.Builder |
lastUpdatedTimeStamp(Instant lastUpdatedTimeStamp)
The time, in milliseconds since the epoch, when the code review was last updated.
|
default CodeReview.Builder |
metrics(Consumer<Metrics.Builder> metrics)
The statistics from the code review.
|
CodeReview.Builder |
metrics(Metrics metrics)
The statistics from the code review.
|
CodeReview.Builder |
name(String name)
The name of the code review.
|
CodeReview.Builder |
owner(String owner)
The owner of the repository.
|
CodeReview.Builder |
providerType(ProviderType providerType)
The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).
|
CodeReview.Builder |
providerType(String providerType)
The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).
|
CodeReview.Builder |
pullRequestId(String pullRequestId)
The pull request ID for the code review.
|
CodeReview.Builder |
repositoryName(String repositoryName)
The name of the repository.
|
default CodeReview.Builder |
sourceCodeType(Consumer<SourceCodeType.Builder> sourceCodeType)
The type of the source code for the code review.
|
CodeReview.Builder |
sourceCodeType(SourceCodeType sourceCodeType)
The type of the source code for the code review.
|
CodeReview.Builder |
state(JobState state)
The valid code review states are:
|
CodeReview.Builder |
state(String state)
The valid code review states are:
|
CodeReview.Builder |
stateReason(String stateReason)
The reason for the state of the code review.
|
CodeReview.Builder |
type(String type)
The type of code review.
|
CodeReview.Builder |
type(Type type)
The type of code review.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCodeReview.Builder name(String name)
The name of the code review.
name - The name of the code review.CodeReview.Builder codeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the CodeReview object.
codeReviewArn - The Amazon Resource Name (ARN) of the CodeReview
object.CodeReview.Builder repositoryName(String repositoryName)
The name of the repository.
repositoryName - The name of the repository.CodeReview.Builder owner(String owner)
The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.
owner - The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web
Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server,
or Bitbucket repository, this is the username for the account that owns the repository. For an S3
repository, it can be the username or Amazon Web Services account ID.CodeReview.Builder providerType(String providerType)
The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).
providerType - The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).ProviderType,
ProviderTypeCodeReview.Builder providerType(ProviderType providerType)
The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).
providerType - The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).ProviderType,
ProviderTypeCodeReview.Builder state(String state)
The valid code review states are:
Completed: The code review is complete.
Pending: The code review started and has not completed or failed.
Failed: The code review failed.
Deleting: The code review is being deleted.
state - The valid code review states are:
Completed: The code review is complete.
Pending: The code review started and has not completed or failed.
Failed: The code review failed.
Deleting: The code review is being deleted.
JobState,
JobStateCodeReview.Builder state(JobState state)
The valid code review states are:
Completed: The code review is complete.
Pending: The code review started and has not completed or failed.
Failed: The code review failed.
Deleting: The code review is being deleted.
state - The valid code review states are:
Completed: The code review is complete.
Pending: The code review started and has not completed or failed.
Failed: The code review failed.
Deleting: The code review is being deleted.
JobState,
JobStateCodeReview.Builder stateReason(String stateReason)
The reason for the state of the code review.
stateReason - The reason for the state of the code review.CodeReview.Builder createdTimeStamp(Instant createdTimeStamp)
The time, in milliseconds since the epoch, when the code review was created.
createdTimeStamp - The time, in milliseconds since the epoch, when the code review was created.CodeReview.Builder lastUpdatedTimeStamp(Instant lastUpdatedTimeStamp)
The time, in milliseconds since the epoch, when the code review was last updated.
lastUpdatedTimeStamp - The time, in milliseconds since the epoch, when the code review was last updated.CodeReview.Builder type(String type)
The type of code review.
CodeReview.Builder type(Type type)
The type of code review.
CodeReview.Builder pullRequestId(String pullRequestId)
The pull request ID for the code review.
pullRequestId - The pull request ID for the code review.CodeReview.Builder sourceCodeType(SourceCodeType sourceCodeType)
The type of the source code for the code review.
sourceCodeType - The type of the source code for the code review.default CodeReview.Builder sourceCodeType(Consumer<SourceCodeType.Builder> sourceCodeType)
The type of the source code for the code review.
This is a convenience method that creates an instance of theSourceCodeType.Builder avoiding the need
to create one manually via SourceCodeType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sourceCodeType(SourceCodeType).
sourceCodeType - a consumer that will call methods on SourceCodeType.BuildersourceCodeType(SourceCodeType)CodeReview.Builder associationArn(String associationArn)
The Amazon Resource Name (ARN) of the RepositoryAssociation that contains the reviewed source code. You can retrieve associated repository ARNs by calling ListRepositoryAssociations.
associationArn - The Amazon Resource Name (ARN) of the RepositoryAssociation that contains the reviewed source code. You can retrieve associated
repository ARNs by calling ListRepositoryAssociations.CodeReview.Builder metrics(Metrics metrics)
The statistics from the code review.
metrics - The statistics from the code review.default CodeReview.Builder metrics(Consumer<Metrics.Builder> metrics)
The statistics from the code review.
This is a convenience method that creates an instance of theMetrics.Builder avoiding the need to
create one manually via Metrics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to metrics(Metrics).
metrics - a consumer that will call methods on Metrics.Buildermetrics(Metrics)CodeReview.Builder analysisTypesWithStrings(Collection<String> analysisTypes)
The types of analysis performed during a repository analysis or a pull request review. You can specify either
Security, CodeQuality, or both.
analysisTypes - The types of analysis performed during a repository analysis or a pull request review. You can specify
either Security, CodeQuality, or both.CodeReview.Builder analysisTypesWithStrings(String... analysisTypes)
The types of analysis performed during a repository analysis or a pull request review. You can specify either
Security, CodeQuality, or both.
analysisTypes - The types of analysis performed during a repository analysis or a pull request review. You can specify
either Security, CodeQuality, or both.CodeReview.Builder analysisTypes(Collection<AnalysisType> analysisTypes)
The types of analysis performed during a repository analysis or a pull request review. You can specify either
Security, CodeQuality, or both.
analysisTypes - The types of analysis performed during a repository analysis or a pull request review. You can specify
either Security, CodeQuality, or both.CodeReview.Builder analysisTypes(AnalysisType... analysisTypes)
The types of analysis performed during a repository analysis or a pull request review. You can specify either
Security, CodeQuality, or both.
analysisTypes - The types of analysis performed during a repository analysis or a pull request review. You can specify
either Security, CodeQuality, or both.CodeReview.Builder configFileState(String configFileState)
The state of the aws-codeguru-reviewer.yml configuration file that allows the configuration of
the CodeGuru Reviewer analysis. The file either exists, doesn't exist, or exists with errors at the root
directory of your repository.
configFileState - The state of the aws-codeguru-reviewer.yml configuration file that allows the
configuration of the CodeGuru Reviewer analysis. The file either exists, doesn't exist, or exists with
errors at the root directory of your repository.ConfigFileState,
ConfigFileStateCodeReview.Builder configFileState(ConfigFileState configFileState)
The state of the aws-codeguru-reviewer.yml configuration file that allows the configuration of
the CodeGuru Reviewer analysis. The file either exists, doesn't exist, or exists with errors at the root
directory of your repository.
configFileState - The state of the aws-codeguru-reviewer.yml configuration file that allows the
configuration of the CodeGuru Reviewer analysis. The file either exists, doesn't exist, or exists with
errors at the root directory of your repository.ConfigFileState,
ConfigFileStateCopyright © 2023. All rights reserved.