ec.hasProperty("DB-Engine") ? ec.getProperties().valueOf("DB-Engine") : null, ec.hasProperty("DB-Version") ? ec.getProperties().valueOf("DB-Version") : null, eci.getName(), ec.hasProperty("DB-Name") ? ec.getProperties().valueOf("DB-Name") : null, ec.getLogin(), ec.getPasswd(), ec.hasProperty("allocatedSize") ? Integer.parseInt(ec.getProperties().valueOf("allocatedSize")) : 0, null, ec.hasProperty("securityGroup") ? ec.getProperties().valueOf("securityGroup") : ""); String pa=connector.getDBEndPoint(eci.getName(), 600); eci.setPublicAddress(pa);