public void setRetrievalResults(java.util.Collection<KnowledgeBaseRetrievalResult> retrievalResults) {
        if (retrievalResults == null) {
            this.retrievalResults = null;
            return;
        }

        this.retrievalResults = new java.util.ArrayList<KnowledgeBaseRetrievalResult>(retrievalResults);
    }
<p>
A list of results from querying the knowledge base.
</p>

@param retrievalResults
       A list of results from querying the knowledge base.
aws-java-sdk-bedrockagentruntime/src/main/java/com/amazonaws/services/bedrockagentruntime/model/RetrieveResult.java