docs: public CompletableFuture<RestoreResponse> restore(RestoreRequest request) {
      ComposableFuture<RestoreResponse> future = new ComposableFuture<>();
      threadContext.execute(() -> {
        role.restore(request).whenComplete(future);
      });
      return future;
    }