@Override
  public void close() {
    predictionClientSupplier.get().close();
    llmClientSupplier.get().close();
  }
Closes the VertexAI instance together with all its instantiated clients.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/VertexAI.java