public TaskSummary withRunStatus(TaskRunStatus runStatus) {
        this.runStatus = runStatus.toString();
        return this;
    }
<p>
The run status of the task.
</p>

@param runStatus
       The run status of the task.
@return Returns a reference to this object so that method calls can be chained together.
@see TaskRunStatus
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/TaskSummary.java