public ListDataSourcesResult withSummaryItems(DataSourceSummary... summaryItems) {
        if (this.summaryItems == null) {
            setSummaryItems(new java.util.ArrayList<DataSourceSummary>(summaryItems.length));
        }
        for (DataSourceSummary ele : summaryItems) {
            this.summaryItems.add(ele);
        }
        return this;
    }
<p>
An array of summary information for one or more data source connector.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSummaryItems(java.util.Collection)} or {@link #withSummaryItems(java.util.Collection)} if you want to
override the existing values.
</p>

@param summaryItems
       An array of summary information for one or more data source connector.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/ListDataSourcesResult.java