public ListHubContentVersionsResult withHubContentSummaries(HubContentInfo... hubContentSummaries) {
        if (this.hubContentSummaries == null) {
            setHubContentSummaries(new java.util.ArrayList<HubContentInfo>(hubContentSummaries.length));
        }
        for (HubContentInfo ele : hubContentSummaries) {
            this.hubContentSummaries.add(ele);
        }
        return this;
    }
<p>
The summaries of the listed hub content versions.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setHubContentSummaries(java.util.Collection)} or {@link #withHubContentSummaries(java.util.Collection)}
if you want to override the existing values.
</p>

@param hubContentSummaries
       The summaries of the listed hub content versions.
@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/ListHubContentVersionsResult.java