public Task withTaskType(String taskType) {
        setTaskType(taskType);
        return this;
    }
<p>
Specifies the particular task implementation that Amazon AppFlow performs.
</p>

@param taskType
       Specifies the particular task implementation that Amazon AppFlow performs.
@return Returns a reference to this object so that method calls can be chained together.
@see TaskType
aws-java-sdk-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/model/Task.java