Uses of Class
com.azure.ai.translation.text.TextTranslationClientBuilder
Package
Description
Package containing the classes for TextTranslation.
-
Uses of TextTranslationClientBuilder in com.azure.ai.translation.text
Modifier and TypeMethodDescriptionTextTranslationClientBuilder.addPolicy
(com.azure.core.http.policy.HttpPipelinePolicy customPolicy) .TextTranslationClientBuilder.audience
(TextTranslationAudience audience) Sets the Authentication audience used to authorize requests sent to the service.TextTranslationClientBuilder.clientOptions
(com.azure.core.util.ClientOptions clientOptions) .TextTranslationClientBuilder.configuration
(com.azure.core.util.Configuration configuration) .TextTranslationClientBuilder.credential
(com.azure.core.credential.KeyCredential credential) Sets theKeyCredential
used to authorize requests sent to the service.TextTranslationClientBuilder.credential
(com.azure.core.credential.TokenCredential tokenCredential) Sets theTokenCredential
used to authorize requests sent to the service..TextTranslationClientBuilder.httpClient
(com.azure.core.http.HttpClient httpClient) .TextTranslationClientBuilder.httpLogOptions
(com.azure.core.http.policy.HttpLogOptions httpLogOptions) .TextTranslationClientBuilder.pipeline
(com.azure.core.http.HttpPipeline pipeline) .Sets the region used to authorize requests sent to the service.TextTranslationClientBuilder.resourceId
(String resourceId) Sets the Azure Resource Id used to authorize requests sent to the service.TextTranslationClientBuilder.retryOptions
(com.azure.core.http.policy.RetryOptions retryOptions) .TextTranslationClientBuilder.retryPolicy
(com.azure.core.http.policy.RetryPolicy retryPolicy) Sets The retry policy that will attempt to retry failed requests, if applicable.TextTranslationClientBuilder.serviceVersion
(TextTranslationServiceVersion serviceVersion) Sets Service version.