Package | Description |
---|---|
com.azure.ai.textanalytics |
Package containing the classes for TextAnalyticsClient.
|
Modifier and Type | Method and Description |
---|---|
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy policy)
Adds a policy to the set of existing policies that are executed after required policies.
|
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.clientOptions(com.azure.core.util.ClientOptions clientOptions)
Sets the client options such as application ID and custom headers to set on a request.
|
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.configuration(com.azure.core.util.Configuration configuration)
Sets the configuration store that is used during construction of the service client.
|
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.credential(com.azure.core.credential.AzureKeyCredential keyCredential)
Sets the
AzureKeyCredential to use when authenticating HTTP requests for this
TextAnalyticsClientBuilder . |
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.credential(com.azure.core.credential.TokenCredential tokenCredential)
Sets the
TokenCredential used to authenticate HTTP requests. |
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.defaultCountryHint(String countryHint)
Set the default country hint option for one client.
|
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.defaultLanguage(String language)
Set the default language option for one client.
|
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.endpoint(String endpoint)
Sets the service endpoint for the Azure Text Analytics instance.
|
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.httpClient(com.azure.core.http.HttpClient client)
Sets the HTTP client to use for sending and receiving requests to and from the service.
|
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions logOptions)
Sets the logging configuration for HTTP requests and responses.
|
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.pipeline(com.azure.core.http.HttpPipeline httpPipeline)
Sets the HTTP pipeline to use for the service client.
|
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
Sets the
RetryPolicy that is used when each request is sent. |
TextAnalyticsClientBuilder |
TextAnalyticsClientBuilder.serviceVersion(TextAnalyticsServiceVersion version)
Sets the
TextAnalyticsServiceVersion that is used when making API requests. |
Copyright © 2021 Microsoft Corporation. All rights reserved.