public ListModelPackageGroupsResult withModelPackageGroupSummaryList(ModelPackageGroupSummary... modelPackageGroupSummaryList) {
        if (this.modelPackageGroupSummaryList == null) {
            setModelPackageGroupSummaryList(new java.util.ArrayList<ModelPackageGroupSummary>(modelPackageGroupSummaryList.length));
        }
        for (ModelPackageGroupSummary ele : modelPackageGroupSummaryList) {
            this.modelPackageGroupSummaryList.add(ele);
        }
        return this;
    }
<p>
A list of summaries of the model groups in your Amazon Web Services account.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setModelPackageGroupSummaryList(java.util.Collection)} or
{@link #withModelPackageGroupSummaryList(java.util.Collection)} if you want to override the existing values.
</p>

@param modelPackageGroupSummaryList
       A list of summaries of the model groups in your Amazon Web Services account.
@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/ListModelPackageGroupsResult.java