public ListAssociationsResult withAssociationSummaries(AssociationSummary... associationSummaries) {
        if (this.associationSummaries == null) {
            setAssociationSummaries(new java.util.ArrayList<AssociationSummary>(associationSummaries.length));
        }
        for (AssociationSummary ele : associationSummaries) {
            this.associationSummaries.add(ele);
        }
        return this;
    }
<p>
A list of associations and their properties.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAssociationSummaries(java.util.Collection)} or {@link #withAssociationSummaries(java.util.Collection)}
if you want to override the existing values.
</p>

@param associationSummaries
       A list of associations and their properties.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListAssociationsResult.java