class AAINetworkResources {

    public void connectNetworkToNetworkCollectionInstanceGroup(L3Network l3network, InstanceGroup instanceGroup) {
        AAIResourceUri netwrokCollectionInstanceGroupURI =
                AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().instanceGroup(instanceGroup.getId()));
        AAIResourceUri networkURI =
                AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().l3Network(l3network.getNetworkId()));
        injectionHelper.getAaiClient().connect(netwrokCollectionInstanceGroupURI, networkURI);
    }

}