class AAICreateResources extends AAIResource {

    public void createAAIOwningEntity(String owningEntityId, String owningEntityName, String serviceInstance) {
        AAIResourceUri owningEntityURI =
                AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business().owningEntity(owningEntityId));
        AAIResourceUri serviceInstanceURI =
                AAIUriFactory.createResourceUri(Types.SERVICE_INSTANCE.getFragment(serviceInstance));
        Map<String, String> hashMap = new HashMap<>();
        hashMap.put("owning-entity-name", owningEntityName);
        getAaiClient().createIfNotExists(owningEntityURI, Optional.of(hashMap)).connect(owningEntityURI,
                serviceInstanceURI);
    }

}