code: public EventHubConnectionInner update(String resourceGroupName, String clusterName, String databaseName, String eventHubConnectionName, EventHubConnectionUpdate parameters) {
          return updateWithServiceResponseAsync(resourceGroupName, clusterName, databaseName, eventHubConnectionName, parameters).toBlocking().last().body();
      }
docs: Updates a Event Hub connection.
  
  @param resourceGroupName The name of the resource group containing the Kusto cluster.
  @param clusterName The name of the Kusto cluster.
  @param databaseName The name of the database in the Kusto cluster.
  @param eventHubConnectionName The name of the event hub connection.
  @param parameters The Event Hub connection parameters supplied to the Update operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the EventHubConnectionInner object if successful.