public ListKnowledgeBasesResult withKnowledgeBaseSummaries(java.util.Collection<KnowledgeBaseSummary> knowledgeBaseSummaries) {
        setKnowledgeBaseSummaries(knowledgeBaseSummaries);
        return this;
    }
<p>
A list of objects, each of which contains information about a knowledge base.
</p>

@param knowledgeBaseSummaries
       A list of objects, each of which contains information about a knowledge base.
@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/ListKnowledgeBasesResult.java