public ListTasksResult withTasks(java.util.Collection<TaskSummary> tasks) {
        setTasks(tasks);
        return this;
    }
<p>
A list of task structures containing details about each task.
</p>

@param tasks
       A list of task structures containing details about each task.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-snowdevicemanagement/src/main/java/com/amazonaws/services/snowdevicemanagement/model/ListTasksResult.java