Uses of Class
com.azure.ai.textanalytics.TextAnalyticsClientBuilder
Package
Description
Package containing the classes for TextAnalyticsClient.
-
Uses of TextAnalyticsClientBuilder in com.azure.ai.textanalytics
Modifier and TypeMethodDescriptionTextAnalyticsClientBuilder.addPolicy
(HttpPipelinePolicy policy) Adds apipeline policy
to apply on each request sent.TextAnalyticsClientBuilder.clientOptions
(ClientOptions clientOptions) Allows for setting common properties such as application ID, headers, proxy configuration, etc.TextAnalyticsClientBuilder.configuration
(Configuration configuration) Sets the configuration store that is used during construction of the service client.TextAnalyticsClientBuilder.credential
(AzureKeyCredential keyCredential) Sets theAzureKeyCredential
to use when authenticating HTTP requests for thisTextAnalyticsClientBuilder
.TextAnalyticsClientBuilder.credential
(TokenCredential tokenCredential) Sets theTokenCredential
used to authorize requests sent to the service.TextAnalyticsClientBuilder.defaultCountryHint
(String countryHint) Set the default country hint option for one client.TextAnalyticsClientBuilder.defaultLanguage
(String language) Set the default language option for one client.Sets the service endpoint for the Azure Text Analytics instance.TextAnalyticsClientBuilder.httpClient
(HttpClient client) Sets theHttpClient
to use for sending and receiving requests to and from the service.TextAnalyticsClientBuilder.httpLogOptions
(HttpLogOptions logOptions) Sets thelogging configuration
to use when sending and receiving requests to and from the service.TextAnalyticsClientBuilder.pipeline
(HttpPipeline httpPipeline) Sets theHttpPipeline
to use for the service client.TextAnalyticsClientBuilder.retryOptions
(RetryOptions retryOptions) Sets theRetryOptions
for all the requests made through the client.TextAnalyticsClientBuilder.retryPolicy
(RetryPolicy retryPolicy) Sets theRetryPolicy
that is used when each request is sent.TextAnalyticsClientBuilder.serviceVersion
(TextAnalyticsServiceVersion version) Sets theTextAnalyticsServiceVersion
that is used when making API requests.