class AAIVolumeGroupResources {

    public void updateHeatStackIdVolumeGroup(VolumeGroup volumeGroup, CloudRegion cloudRegion) {
        AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.cloudInfrastructure()
                .cloudRegion(cloudRegion.getCloudOwner(), cloudRegion.getLcpCloudRegionId())
                .volumeGroup(volumeGroup.getVolumeGroupId()));
        VolumeGroup copiedVolumeGroup = volumeGroup.shallowCopyId();

        copiedVolumeGroup.setHeatStackId(volumeGroup.getHeatStackId());
        injectionHelper.getAaiClient().update(uri, aaiObjectMapper.mapVolumeGroup(copiedVolumeGroup));
    }

}