public void setRetrieveAndGenerateConfiguration(RetrieveAndGenerateConfiguration retrieveAndGenerateConfiguration) {
        this.retrieveAndGenerateConfiguration = retrieveAndGenerateConfiguration;
    }
<p>
Contains configurations for the knowledge base query and retrieval process. For more information, see <a
href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html">Query configurations</a>.
</p>

@param retrieveAndGenerateConfiguration
       Contains configurations for the knowledge base query and retrieval process. For more information, see <a
       href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html">Query configurations</a>.
aws-java-sdk-bedrockagentruntime/src/main/java/com/amazonaws/services/bedrockagentruntime/model/RetrieveAndGenerateRequest.java