Interface Task.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Task.Builder,Task>, SdkBuilder<Task.Builder,Task>, SdkPojo
Enclosing class:
Task

@Mutable @NotThreadSafe public static interface Task.Builder extends SdkPojo, CopyableBuilder<Task.Builder,Task>
  • Method Details

    • environment

      Task.Builder environment(String environment)

      The name of the governance environment the task belongs to.

      Parameters:
      environment - The name of the governance environment the task belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • project

      Task.Builder project(String project)

      The name of the project.

      Parameters:
      project - The name of the project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • framework

      Task.Builder framework(String framework)

      The name of the compliance framework.

      Parameters:
      framework - The name of the compliance framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameworkVersion

      Task.Builder frameworkVersion(String frameworkVersion)

      The version of the compliance framework.

      Parameters:
      frameworkVersion - The version of the compliance framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controlId

      Task.Builder controlId(String controlId)

      The control identifier. Optional. If omitted, the operation applies to the full framework.

      Parameters:
      controlId - The control identifier. Optional. If omitted, the operation applies to the full framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskId

      Task.Builder taskId(String taskId)

      The identifier of the task.

      Parameters:
      taskId - The identifier of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • title

      Task.Builder title(String title)

      The human-readable title of the task.

      Parameters:
      title - The human-readable title of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Task.Builder description(String 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.
    • status

      Task.Builder status(String status)

      The current lifecycle state of the task.

      Parameters:
      status - The current lifecycle state of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Task.Builder status(TaskStatus status)

      The current lifecycle state of the task.

      Parameters:
      status - The current lifecycle state of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdBy

      Task.Builder createdBy(String createdBy)

      The identity of the principal who created the task.

      Parameters:
      createdBy - The identity of the principal who created the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dueAt

      Task.Builder dueAt(Instant dueAt)

      The deadline for the task.

      Parameters:
      dueAt - The deadline for the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • priority

      Task.Builder priority(String priority)

      The relative priority of the item.

      Parameters:
      priority - The relative priority of the item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • priority

      Task.Builder priority(TaskPriority priority)

      The relative priority of the item.

      Parameters:
      priority - The relative priority of the item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      Task.Builder createdAt(Instant createdAt)

      The timestamp when the task was created.

      Parameters:
      createdAt - The timestamp when the task was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      Task.Builder updatedAt(Instant updatedAt)

      The timestamp when the task was last updated.

      Parameters:
      updatedAt - The timestamp when the task was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.