/** * Allows you to add any number of preconfigured nested Datasource elements. * * @param datasource * A preconfigured nested Datasource object to add. */ public void addConfiguredDatasource(Datasource datasource) { dataSources.add(new DataSource().withArn(datasource.getArn()) .withDatabaseName(datasource.getDatabaseName()) .withType(datasource.getType())); }
/** * Allows you to add any number of preconfigured nested Datasource elements. * * @param datasource * A preconfigured nested Datasource object to add. */ public void addConfiguredDatasource(Datasource datasource) { dataSources.add(new DataSource().withArn(datasource.getArn()) .withDatabaseName(datasource.getDatabaseName()) .withType(datasource.getType())); }