class RdsLookupService {

    public List<GatekeeperRDSInstance> getInstances(AWSEnvironment environment, String lookupType, String searchString) {
        switch(DatabaseType.valueOf(lookupType.toUpperCase())){
            case RDS:
                return doFilterRds(environment, searchString);
            case AURORA_REGIONAL:
                return doFilterAurora(environment, searchString);
            case AURORA_GLOBAL:
                return doFilterAuroraGlobal(environment, searchString);
            default:
                return Collections.emptyList();
        }
    }

    @Autowired public  RdsLookupService(AwsSessionService awsSessionService,
                            DatabaseConnectionService databaseConnectionService,
                            SGLookupService sgLookupService,
                            GatekeeperProperties gatekeeperProperties);

}