public RetrieveResult withRetrievalResults(java.util.Collection<KnowledgeBaseRetrievalResult> retrievalResults) {
        setRetrievalResults(retrievalResults);
        return this;
    }
<p>
A list of results from querying the knowledge base.
</p>

@param retrievalResults
       A list of results from querying the knowledge base.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagentruntime/src/main/java/com/amazonaws/services/bedrockagentruntime/model/RetrieveResult.java