Interface CodeReviewJobTask.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeReviewJobTask.Builder,,CodeReviewJobTask> SdkBuilder<CodeReviewJobTask.Builder,,CodeReviewJobTask> SdkPojo
- Enclosing class:
CodeReviewJobTask
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the agent space.categories(Collection<Category> categories) The list of categories assigned to the task.categories(Consumer<Category.Builder>... categories) The list of categories assigned to the task.categories(Category... categories) The list of categories assigned to the task.codeReviewId(String codeReviewId) The unique identifier of the code review associated with the task.codeReviewJobId(String codeReviewJobId) The unique identifier of the code review job that contains the task.The date and time the task was created, in UTC format.description(String description) A description of the task.executionStatus(String executionStatus) The current execution status of the task.executionStatus(TaskExecutionStatus executionStatus) The current execution status of the task.default CodeReviewJobTask.BuilderlogsLocation(Consumer<LogLocation.Builder> logsLocation) The location of the task execution logs.logsLocation(LogLocation logsLocation) The location of the task execution logs.The type of security risk the task is testing for.The type of security risk the task is testing for.The unique identifier of the task.The title of the task.The date and time the task 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
-
taskId
The unique identifier of the task.
- Parameters:
taskId- The unique identifier of the task.- 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 task.
- Parameters:
codeReviewId- The unique identifier of the code review associated with the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeReviewJobId
The unique identifier of the code review job that contains the task.
- Parameters:
codeReviewJobId- The unique identifier of the code review job that contains the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSpaceId
The unique identifier of the agent space.
- Parameters:
agentSpaceId- The unique identifier of the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the task.
- Parameters:
title- The title of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the task.
- Parameters:
description- A description of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The list of categories assigned to the task.
- Parameters:
categories- The list of categories assigned to the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The list of categories assigned to the task.
- Parameters:
categories- The list of categories assigned to the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The list of categories assigned to the task.
This is a convenience method that creates an instance of theCategory.Builderavoiding the need to create one manually viaCategory.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocategories(List<Category>).- Parameters:
categories- a consumer that will call methods onCategory.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
riskType
The type of security risk the task is testing for.
- Parameters:
riskType- The type of security risk the task is testing for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
riskType
The type of security risk the task is testing for.
- Parameters:
riskType- The type of security risk the task is testing for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStatus
The current execution status of the task.
- Parameters:
executionStatus- The current execution status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStatus
The current execution status of the task.
- Parameters:
executionStatus- The current execution status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logsLocation
The location of the task execution logs.
- Parameters:
logsLocation- The location of the task execution logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logsLocation
The location of the task execution logs.
This is a convenience method that creates an instance of theLogLocation.Builderavoiding the need to create one manually viaLogLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologsLocation(LogLocation).- Parameters:
logsLocation- a consumer that will call methods onLogLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time the task was created, in UTC format.
- Parameters:
createdAt- The date and time the task 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 task was last updated, in UTC format.
- Parameters:
updatedAt- The date and time the task was last updated, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-