class AAIInstanceGroupResources {

    public void connectInstanceGroupToVnf(InstanceGroup instanceGroup, GenericVnf vnf) {
        AAIResourceUri instanceGroupUri =
                AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().instanceGroup(instanceGroup.getId()));
        AAIResourceUri vnfURI =
                AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().genericVnf(vnf.getVnfId()));
        injectionHelper.getAaiClient().connect(instanceGroupUri, vnfURI);
    }

}