public SearchQuantumTasksResult withQuantumTasks(QuantumTaskSummary... quantumTasks) {
        if (this.quantumTasks == null) {
            setQuantumTasks(new java.util.ArrayList<QuantumTaskSummary>(quantumTasks.length));
        }
        for (QuantumTaskSummary ele : quantumTasks) {
            this.quantumTasks.add(ele);
        }
        return this;
    }
<p>
An array of <code>QuantumTaskSummary</code> objects for tasks that match the specified filters.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setQuantumTasks(java.util.Collection)} or {@link #withQuantumTasks(java.util.Collection)} if you want to
override the existing values.
</p>

@param quantumTasks
       An array of <code>QuantumTaskSummary</code> objects for tasks that match the specified filters.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-braket/src/main/java/com/amazonaws/services/braket/model/SearchQuantumTasksResult.java