class BBInputSetupUtils {

    public Optional<VolumeGroup> getRelatedVolumeGroupFromVfModule(String vnfId, String vfModuleId) throws Exception {
        AAIPluralResourceUri uri =
                AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().genericVnf(vnfId).vfModule(vfModuleId))
                        .relatedTo(Types.VOLUME_GROUPS.getFragment());
        return injectionHelper.getAaiClient().getOne(VolumeGroups.class, VolumeGroup.class, uri);
    }

}