Interface CodeReviewJob.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeReviewJob.Builder,,CodeReviewJob> SdkBuilder<CodeReviewJob.Builder,,CodeReviewJob> SdkPojo
- Enclosing class:
CodeReviewJob
-
Method Summary
Modifier and TypeMethodDescriptioncodeRemediationStrategy(String codeRemediationStrategy) The code remediation strategy for the code review job.codeRemediationStrategy(CodeRemediationStrategy codeRemediationStrategy) The code remediation strategy for the code review job.codeReviewId(String codeReviewId) The unique identifier of the code review associated with the job.codeReviewJobId(String codeReviewJobId) The unique identifier of the code review job.The date and time the code review job was created, in UTC format.documents(Collection<DocumentInfo> documents) The list of documents providing context for the code review job.documents(Consumer<DocumentInfo.Builder>... documents) The list of documents providing context for the code review job.documents(DocumentInfo... documents) The list of documents providing context for the code review job.default CodeReviewJob.BuildererrorInformation(Consumer<ErrorInformation.Builder> errorInformation) Error information if the code review job encountered an error.errorInformation(ErrorInformation errorInformation) Error information if the code review job encountered an error.executionContext(Collection<ExecutionContext> executionContext) The execution context messages for the code review job.executionContext(Consumer<ExecutionContext.Builder>... executionContext) The execution context messages for the code review job.executionContext(ExecutionContext... executionContext) The execution context messages for the code review job.integratedRepositories(Collection<IntegratedRepository> integratedRepositories) The list of integrated repositories associated with the code review job.integratedRepositories(Consumer<IntegratedRepository.Builder>... integratedRepositories) The list of integrated repositories associated with the code review job.integratedRepositories(IntegratedRepository... integratedRepositories) The list of integrated repositories associated with the code review job.default CodeReviewJob.BuilderlogConfig(Consumer<CloudWatchLog.Builder> logConfig) The CloudWatch Logs configuration for the code review job.logConfig(CloudWatchLog logConfig) The CloudWatch Logs configuration for the code review job.An overview of the code review job results.serviceRole(String serviceRole) The IAM service role used for the code review job.sourceCode(Collection<SourceCodeRepository> sourceCode) The list of source code repositories analyzed during the code review job.sourceCode(Consumer<SourceCodeRepository.Builder>... sourceCode) The list of source code repositories analyzed during the code review job.sourceCode(SourceCodeRepository... sourceCode) The list of source code repositories analyzed during the code review job.The current status of the code review job.The current status of the code review job.steps(Collection<Step> steps) The list of steps in the code review job execution.steps(Consumer<Step.Builder>... steps) The list of steps in the code review job execution.The list of steps in the code review job execution.The title of the code review job.The date and time the code review job was last updated, in UTC format.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
codeReviewJobId
The unique identifier of the code review job.
- Parameters:
codeReviewJobId- The unique identifier of the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeReviewId
The unique identifier of the code review associated with the job.
- Parameters:
codeReviewId- The unique identifier of the code review associated with the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the code review job.
- Parameters:
title- The title of the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overview
An overview of the code review job results.
- Parameters:
overview- An overview of the code review job results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the code review job.
- Parameters:
status- The current status of the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the code review job.
- Parameters:
status- The current status of the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documents
The list of documents providing context for the code review job.
- Parameters:
documents- The list of documents providing context for the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
The list of documents providing context for the code review job.
- Parameters:
documents- The list of documents providing context for the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
The list of documents providing context for the code review job.
This is a convenience method that creates an instance of theDocumentInfo.Builderavoiding the need to create one manually viaDocumentInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocuments(List<DocumentInfo>).- Parameters:
documents- a consumer that will call methods onDocumentInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceCode
The list of source code repositories analyzed during the code review job.
- Parameters:
sourceCode- The list of source code repositories analyzed during the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCode
The list of source code repositories analyzed during the code review job.
- Parameters:
sourceCode- The list of source code repositories analyzed during the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCode
The list of source code repositories analyzed during the code review job.
This is a convenience method that creates an instance of theSourceCodeRepository.Builderavoiding the need to create one manually viaSourceCodeRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceCode(List<SourceCodeRepository>).- Parameters:
sourceCode- a consumer that will call methods onSourceCodeRepository.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
steps
The list of steps in the code review job execution.
- Parameters:
steps- The list of steps in the code review job execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The list of steps in the code review job execution.
- Parameters:
steps- The list of steps in the code review job execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The list of steps in the code review job execution.
This is a convenience method that creates an instance of theStep.Builderavoiding the need to create one manually viaStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosteps(List<Step>).- Parameters:
steps- a consumer that will call methods onStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionContext
The execution context messages for the code review job.
- Parameters:
executionContext- The execution context messages for the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionContext
The execution context messages for the code review job.
- Parameters:
executionContext- The execution context messages for the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionContext
The execution context messages for the code review job.
This is a convenience method that creates an instance of theExecutionContext.Builderavoiding the need to create one manually viaExecutionContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexecutionContext(List<ExecutionContext>).- Parameters:
executionContext- a consumer that will call methods onExecutionContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceRole
The IAM service role used for the code review job.
- Parameters:
serviceRole- The IAM service role used for the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The CloudWatch Logs configuration for the code review job.
- Parameters:
logConfig- The CloudWatch Logs configuration for the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The CloudWatch Logs configuration for the code review job.
This is a convenience method that creates an instance of theCloudWatchLog.Builderavoiding the need to create one manually viaCloudWatchLog.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologConfig(CloudWatchLog).- Parameters:
logConfig- a consumer that will call methods onCloudWatchLog.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorInformation
Error information if the code review job encountered an error.
- Parameters:
errorInformation- Error information if the code review job encountered an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInformation
Error information if the code review job encountered an error.
This is a convenience method that creates an instance of theErrorInformation.Builderavoiding the need to create one manually viaErrorInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorInformation(ErrorInformation).- Parameters:
errorInformation- a consumer that will call methods onErrorInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
integratedRepositories
CodeReviewJob.Builder integratedRepositories(Collection<IntegratedRepository> integratedRepositories) The list of integrated repositories associated with the code review job.
- Parameters:
integratedRepositories- The list of integrated repositories associated with the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integratedRepositories
The list of integrated repositories associated with the code review job.
- Parameters:
integratedRepositories- The list of integrated repositories associated with the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integratedRepositories
CodeReviewJob.Builder integratedRepositories(Consumer<IntegratedRepository.Builder>... integratedRepositories) The list of integrated repositories associated with the code review job.
This is a convenience method that creates an instance of theIntegratedRepository.Builderavoiding the need to create one manually viaIntegratedRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointegratedRepositories(List<IntegratedRepository>).- Parameters:
integratedRepositories- a consumer that will call methods onIntegratedRepository.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeRemediationStrategy
The code remediation strategy for the code review job.
- Parameters:
codeRemediationStrategy- The code remediation strategy for the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeRemediationStrategy
The code remediation strategy for the code review job.
- Parameters:
codeRemediationStrategy- The code remediation strategy for the code review job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time the code review job was created, in UTC format.
- Parameters:
createdAt- The date and time the code review job was created, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time the code review job was last updated, in UTC format.
- Parameters:
updatedAt- The date and time the code review job was last updated, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-