class AAIVfModuleResources {

    public void connectVfModuleToVolumeGroup(GenericVnf vnf, VfModule vfModule, VolumeGroup volumeGroup,
            CloudRegion cloudRegion) {
        AAIResourceUri vfModuleURI = AAIUriFactory.createResourceUri(
                AAIFluentTypeBuilder.network().genericVnf(vnf.getVnfId()).vfModule(vfModule.getVfModuleId()));
        AAIResourceUri volumeGroupURI = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.cloudInfrastructure()
                .cloudRegion(cloudRegion.getCloudOwner(), cloudRegion.getLcpCloudRegionId())
                .volumeGroup(volumeGroup.getVolumeGroupId()));
        injectionHelper.getAaiClient().connect(vfModuleURI, volumeGroupURI);
    }

}