Interface TaskSummary.Builder

  • Method Details

    • taskId

      TaskSummary.Builder taskId(String 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

      TaskSummary.Builder pentestId(String 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

      TaskSummary.Builder pentestJobId(String 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

      TaskSummary.Builder agentSpaceId(String 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.
    • riskType

      TaskSummary.Builder riskType(String 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

      TaskSummary.Builder riskType(RiskType 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:
    • executionStatus

      TaskSummary.Builder executionStatus(String 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

      TaskSummary.Builder executionStatus(TaskExecutionStatus 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:
    • createdAt

      TaskSummary.Builder createdAt(Instant 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

      TaskSummary.Builder updatedAt(Instant 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.