Class LogsQueryClientBuilder

java.lang.Object
com.azure.monitor.query.LogsQueryClientBuilder

public final class LogsQueryClientBuilder extends Object
Fluent builder for creating instances of LogsQueryClient and LogsQueryAsyncClient.

Instantiating an asynchronous Logs query Client

 LogsQueryAsyncClient logsQueryAsyncClient = new LogsQueryClientBuilder()
         .credential(tokenCredential)
         .buildAsyncClient();
 

Instantiating a synchronous Logs query Client

 LogsQueryClient logsQueryClient = new LogsQueryClientBuilder()
         .credential(tokenCredential)
         .buildClient();