Interface Task.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Task.Builder,,Task> SdkBuilder<Task.Builder,,Task> SdkPojo
- Enclosing class:
Task
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) Identifier of the agent space this task belongs tocategories(Collection<Category> categories) List of categories associated with this taskcategories(Consumer<Category.Builder>... categories) List of categories associated with this taskcategories(Category... categories) List of categories associated with this taskTimestamp when the task was createddescription(String description) Detailed description of the task's purpose and scopeexecutionStatus(String executionStatus) Current status of the task executionexecutionStatus(TaskExecutionStatus executionStatus) Current status of the task executiondefault Task.BuilderlogsLocation(Consumer<LogLocation.Builder> logsLocation) Location of execution logs for auditing and reviewlogsLocation(LogLocation logsLocation) Location of execution logs for auditing and reviewIdentifier of the parent pentestpentestJobId(String pentestJobId) Identifier of the pentest job this task belongs toType of security risk this task is designed to testType of security risk this task is designed to testdefault Task.BuildertargetEndpoint(Consumer<Endpoint.Builder> targetEndpoint) Target endpoint for this security testtargetEndpoint(Endpoint targetEndpoint) Target endpoint for this security testUnique identifier for the taskTitle or name of the taskTimestamp when the task was last updatedMethods 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
Unique identifier for the task
- Parameters:
taskId- Unique identifier for the task- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestId
Identifier of the parent pentest
- Parameters:
pentestId- Identifier of the parent pentest- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestJobId
Identifier of the pentest job this task belongs to
- Parameters:
pentestJobId- Identifier of the pentest job this task belongs to- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSpaceId
Identifier of the agent space this task belongs to
- Parameters:
agentSpaceId- Identifier of the agent space this task belongs to- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
Title or name of the task
- Parameters:
title- Title or name of the task- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Detailed description of the task's purpose and scope
- Parameters:
description- Detailed description of the task's purpose and scope- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
List of categories associated with this task
- Parameters:
categories- List of categories associated with this task- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
List of categories associated with this task
- Parameters:
categories- List of categories associated with this task- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
List of categories associated with this 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
Type of security risk this task is designed to test
- Parameters:
riskType- Type of security risk this task is designed to test- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
riskType
Type of security risk this task is designed to test
- Parameters:
riskType- Type of security risk this task is designed to test- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetEndpoint
Target endpoint for this security test
- Parameters:
targetEndpoint- Target endpoint for this security test- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetEndpoint
Target endpoint for this security test
This is a convenience method that creates an instance of theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetEndpoint(Endpoint).- Parameters:
targetEndpoint- a consumer that will call methods onEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStatus
Current status of the task execution
- Parameters:
executionStatus- Current status of the task execution- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStatus
Current status of the task execution
- Parameters:
executionStatus- Current status of the task execution- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logsLocation
Location of execution logs for auditing and review
- Parameters:
logsLocation- Location of execution logs for auditing and review- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logsLocation
Location of execution logs for auditing and review
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
Timestamp when the task was created
- Parameters:
createdAt- Timestamp when the task was created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
Timestamp when the task was last updated
- Parameters:
updatedAt- Timestamp when the task was last updated- Returns:
- Returns a reference to this object so that method calls can be chained together.
-