public ListDataSourcesResult withDataSourceSummaries(DataSourceSummary... dataSourceSummaries) {
        if (this.dataSourceSummaries == null) {
            setDataSourceSummaries(new java.util.ArrayList<DataSourceSummary>(dataSourceSummaries.length));
        }
        for (DataSourceSummary ele : dataSourceSummaries) {
            this.dataSourceSummaries.add(ele);
        }
        return this;
    }
<p>
A list of objects, each of which contains information about a data source.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDataSourceSummaries(java.util.Collection)} or {@link #withDataSourceSummaries(java.util.Collection)}
if you want to override the existing values.
</p>

@param dataSourceSummaries
       A list of objects, each of which contains information about a data source.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/ListDataSourcesResult.java