Package com.collibra.dgc.core.api.dto.workflow

# Class CancelWorkflowTasksRequest.Builder

Object
Builder

Enclosing class:
  `CancelWorkflowTasksRequest`

public static class CancelWorkflowTasksRequest.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CancelWorkflowTasksRequest`
  `build()`
  `CancelWorkflowTasksRequest.Builder`
  `reason(String reason)`
  The reason for the cancellation of the workflow instance.
  `CancelWorkflowTasksRequest.Builder`
  `sendNotification(boolean sendNotification)`
  Required. Whether or not the user needs to be notified of the job completion.
  `String`
  `toString()`
  `CancelWorkflowTasksRequest.Builder`
  `workflowTaskIds(List<UUID> workflowTaskIds)`
  Required. The list of workflow task IDs to be cancelled.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### sendNotification

    public CancelWorkflowTasksRequest.Builder sendNotification(boolean sendNotification)
    Required. Whether or not the user needs to be notified of the job completion.
    Returns:
      `this`.

  - ### workflowTaskIds

    public CancelWorkflowTasksRequest.Builder workflowTaskIds(List<UUID> workflowTaskIds)
    Required. The list of workflow task IDs to be cancelled.
    Returns:
      `this`.

  - ### reason

    public CancelWorkflowTasksRequest.Builder reason(String reason)
    The reason for the cancellation of the workflow instance.
    Returns:
      `this`.

  - ### build

    public CancelWorkflowTasksRequest build()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`