public void setExternalSourcesConfiguration(ExternalSourcesRetrieveAndGenerateConfiguration externalSourcesConfiguration) {
        this.externalSourcesConfiguration = externalSourcesConfiguration;
    }
<p>
The configuration used with the external source wrapper object in the retrieveAndGenerate function.
</p>

@param externalSourcesConfiguration
       The configuration used with the external source wrapper object in the retrieveAndGenerate function.
aws-java-sdk-bedrockagentruntime/src/main/java/com/amazonaws/services/bedrockagentruntime/model/RetrieveAndGenerateConfiguration.java