Interface TaskSummary.Builder

  • Method Details

    • taskId

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

      TaskSummary.Builder pentestId(String pentestId)

      The unique identifier of the pentest associated with the task.

      Parameters:
      pentestId - The unique identifier of the pentest associated with the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pentestJobId

      TaskSummary.Builder pentestJobId(String pentestJobId)

      The unique identifier of the pentest job that contains the task.

      Parameters:
      pentestJobId - The unique identifier of the pentest job that contains the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentSpaceId

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

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

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

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

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

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

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