return input.getName().equals(group);
}
});
// Create the group if still does not exist
VirtualAppliance newVapp = null;
if (!vapp.isPresent()) {
logger.debug(">> Creating group %s", group);
newVapp = VirtualAppliance.builder(context, vdc).name(group).build();
newVapp.save();
logger.debug("<< group(%s) created", newVapp.getId());
} else {
logger.debug(">> Using existing group(%s)", vapp.get().getId());
}
VirtualApplianceCachingTemplate abiquoTemplate = VirtualApplianceCachingTemplate //