public BatchLoadTask withTaskStatus(BatchLoadStatus taskStatus) {
        this.taskStatus = taskStatus.toString();
        return this;
    }
<p>
Status of the batch load task.
</p>

@param taskStatus
       Status of the batch load task.
@return Returns a reference to this object so that method calls can be chained together.
@see BatchLoadStatus
aws-java-sdk-timestreamwrite/src/main/java/com/amazonaws/services/timestreamwrite/model/BatchLoadTask.java