public void setRetrievalQuery(KnowledgeBaseQuery retrievalQuery) {
        this.retrievalQuery = retrievalQuery;
    }
<p>
Contains the query to send the knowledge base.
</p>

@param retrievalQuery
       Contains the query to send the knowledge base.
aws-java-sdk-bedrockagentruntime/src/main/java/com/amazonaws/services/bedrockagentruntime/model/RetrieveRequest.java