public GetQuantumTaskResult withAssociations(java.util.Collection<Association> associations) {
        setAssociations(associations);
        return this;
    }
<p>
The list of Amazon Braket resources associated with the quantum task.
</p>

@param associations
       The list of Amazon Braket resources associated with the quantum task.
@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/GetQuantumTaskResult.java