-
InsightsClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy customPolicy)
Adds a pipeline policy
to apply on each request sent.
InsightsClientBuilder.clientOptions(com.azure.core.util.ClientOptions clientOptions)
Allows for setting common properties such as application ID, headers, proxy configuration, etc.
InsightsClientBuilder.configuration(com.azure.core.util.Configuration configuration)
Sets the client-specific configuration used to retrieve client or global configuration properties
when building a client.
InsightsClientBuilder.credential(com.azure.core.credential.TokenCredential tokenCredential)
Sets the TokenCredential
used to authorize requests sent to the service.
Sets the service endpoint that will be connected to by clients.
InsightsClientBuilder.httpClient(com.azure.core.http.HttpClient httpClient)
Sets the HttpClient
to use for sending and receiving requests to and from the service.
InsightsClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
Sets the logging configuration
to use when sending and receiving requests to and from
the service.
InsightsClientBuilder.pipeline(com.azure.core.http.HttpPipeline pipeline)
Sets the HttpPipeline
to use for the service client.
InsightsClientBuilder.retryOptions(com.azure.core.http.policy.RetryOptions retryOptions)
Sets the RetryOptions
for all the requests made through the client.
InsightsClientBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
Sets The retry policy that will attempt to retry failed requests, if applicable.