state

Sets the state of the task status.

Return

This builder instance for method chaining.

Parameters

state

The state of the task. Must be one of: "submitted", "working", "input-required", "completed", "canceled", "failed", "unknown".