public ListTaskExecutionsResult withTaskExecutions(java.util.Collection<TaskExecutionListEntry> taskExecutions) {
        setTaskExecutions(taskExecutions);
        return this;
    }
<p>
A list of the task's executions.
</p>

@param taskExecutions
       A list of the task's executions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/ListTaskExecutionsResult.java