Modifier and Type | Method and Description |
---|---|
BatchDocumentTranslationClientBuilder |
BatchDocumentTranslationClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy customPolicy)
Adds a custom Http pipeline policy.
|
BatchDocumentTranslationClientBuilder |
BatchDocumentTranslationClientBuilder.configuration(com.azure.core.util.Configuration configuration)
Sets The configuration store that is used during construction of the service client.
|
BatchDocumentTranslationClientBuilder |
BatchDocumentTranslationClientBuilder.credential(com.azure.core.credential.AzureKeyCredential azureKeyCredential)
Sets The Azure Key Credential used for authentication.
|
BatchDocumentTranslationClientBuilder |
BatchDocumentTranslationClientBuilder.endpoint(String endpoint)
Sets Supported Cognitive Services endpoints (protocol and hostname, for example:
https://westus.api.cognitive.microsoft.com).
|
BatchDocumentTranslationClientBuilder |
BatchDocumentTranslationClientBuilder.httpClient(com.azure.core.http.HttpClient httpClient)
Sets The HTTP client used to send the request.
|
BatchDocumentTranslationClientBuilder |
BatchDocumentTranslationClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
Sets The logging configuration for HTTP requests and responses.
|
BatchDocumentTranslationClientBuilder |
BatchDocumentTranslationClientBuilder.objectSerializer(com.azure.core.util.serializer.ObjectSerializer objectSerializer)
Sets The serializer to serialize an object into a string.
|
BatchDocumentTranslationClientBuilder |
BatchDocumentTranslationClientBuilder.pipeline(com.azure.core.http.HttpPipeline pipeline)
Sets The HTTP pipeline to send requests through.
|
BatchDocumentTranslationClientBuilder |
BatchDocumentTranslationClientBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
Sets The retry policy that will attempt to retry failed requests, if applicable.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.