class BBInputSetupUtils {

    public Optional<GenericVnf> getRelatedVnfByNameFromServiceInstance(String serviceInstanceId, String vnfName) {
        AAIPluralResourceUri uri =
                AAIUriFactory.createResourceUri(Types.SERVICE_INSTANCE.getFragment(serviceInstanceId))
                        .relatedTo(Types.GENERIC_VNFS.getFragment()).queryParam("vnf-name", vnfName);
        return injectionHelper.getAaiClient().getOne(GenericVnfs.class, GenericVnf.class, uri);

    }

}