public ListTaskExecutionsResult withTaskExecutions(TaskExecutionListEntry... taskExecutions) {
        if (this.taskExecutions == null) {
            setTaskExecutions(new java.util.ArrayList<TaskExecutionListEntry>(taskExecutions.length));
        }
        for (TaskExecutionListEntry ele : taskExecutions) {
            this.taskExecutions.add(ele);
        }
        return this;
    }
<p>
A list of the task's executions.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTaskExecutions(java.util.Collection)} or {@link #withTaskExecutions(java.util.Collection)} if you want
to override the existing values.
</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