class RDSRaiderImpl implements RDSRaider {

    @Deprecated
    public void attachSecurityGroup(String dbName, String securityGroup) {
        if (dbName.isEmpty() || dbName == null) {
            throw new InvalidInputDataException("Empty/Null dbName provided in request");
        } else if (securityGroup.isEmpty() || securityGroup == null) {
            throw new InvalidInputDataException("Empty/Null securityGroup provided in request");
        }

        List<String> securityGroups = this.getSecurityGroups(dbName);

        if (securityGroups != null && !securityGroups.contains(securityGroup)) {
            securityGroups.add(securityGroup);
            rdsDelegator.getAmazonRds().modifyDBInstance(new ModifyDBInstanceRequest().withDBInstanceIdentifier(dbName).withVpcSecurityGroupIds(securityGroups).withApplyImmediately(true));
        }
    }

    public  RDSRaiderImpl();

}