class AAIVolumeGroupResources {

    public void connectVolumeGroupToVnf(GenericVnf genericVnf, VolumeGroup volumeGroup, CloudRegion cloudRegion) {
        AAIResourceUri uriGenericVnf =
                AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().genericVnf(genericVnf.getVnfId()));
        AAIResourceUri uriVolumeGroup = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.cloudInfrastructure()
                .cloudRegion(cloudRegion.getCloudOwner(), cloudRegion.getLcpCloudRegionId())
                .volumeGroup(volumeGroup.getVolumeGroupId()));
        injectionHelper.getAaiClient().connect(uriGenericVnf, uriVolumeGroup);
    }

}