Class DocumentIntelligenceAdministrationClientBuilder
java.lang.Object
com.azure.ai.documentintelligence.DocumentIntelligenceAdministrationClientBuilder
- All Implemented Interfaces:
com.azure.core.client.traits.ConfigurationTrait<DocumentIntelligenceAdministrationClientBuilder>
,com.azure.core.client.traits.EndpointTrait<DocumentIntelligenceAdministrationClientBuilder>
,com.azure.core.client.traits.HttpTrait<DocumentIntelligenceAdministrationClientBuilder>
,com.azure.core.client.traits.KeyCredentialTrait<DocumentIntelligenceAdministrationClientBuilder>
,com.azure.core.client.traits.TokenCredentialTrait<DocumentIntelligenceAdministrationClientBuilder>
public final class DocumentIntelligenceAdministrationClientBuilder
extends Object
implements com.azure.core.client.traits.HttpTrait<DocumentIntelligenceAdministrationClientBuilder>, com.azure.core.client.traits.ConfigurationTrait<DocumentIntelligenceAdministrationClientBuilder>, com.azure.core.client.traits.TokenCredentialTrait<DocumentIntelligenceAdministrationClientBuilder>, com.azure.core.client.traits.KeyCredentialTrait<DocumentIntelligenceAdministrationClientBuilder>, com.azure.core.client.traits.EndpointTrait<DocumentIntelligenceAdministrationClientBuilder>
A builder for creating a new instance of the DocumentIntelligenceAdministrationClient type.
-
Constructor Summary
ConstructorDescriptionCreate an instance of the DocumentIntelligenceAdministrationClientBuilder. -
Method Summary
Modifier and TypeMethodDescriptionaddPolicy
(com.azure.core.http.policy.HttpPipelinePolicy customPolicy) .Builds an instance of DocumentIntelligenceAdministrationAsyncClient class.Builds an instance of DocumentIntelligenceAdministrationClient class.clientOptions
(com.azure.core.util.ClientOptions clientOptions) .configuration
(com.azure.core.util.Configuration configuration) .credential
(com.azure.core.credential.KeyCredential keyCredential) .credential
(com.azure.core.credential.TokenCredential tokenCredential) ..httpClient
(com.azure.core.http.HttpClient httpClient) .httpLogOptions
(com.azure.core.http.policy.HttpLogOptions httpLogOptions) .pipeline
(com.azure.core.http.HttpPipeline pipeline) .retryOptions
(com.azure.core.http.policy.RetryOptions retryOptions) .retryPolicy
(com.azure.core.http.policy.RetryPolicy retryPolicy) Sets The retry policy that will attempt to retry failed requests, if applicable.serviceVersion
(DocumentIntelligenceServiceVersion serviceVersion) Sets Service version.
-
Constructor Details
-
DocumentIntelligenceAdministrationClientBuilder
public DocumentIntelligenceAdministrationClientBuilder()Create an instance of the DocumentIntelligenceAdministrationClientBuilder.
-
-
Method Details
-
pipeline
public DocumentIntelligenceAdministrationClientBuilder pipeline(com.azure.core.http.HttpPipeline pipeline) .- Specified by:
pipeline
in interfacecom.azure.core.client.traits.HttpTrait<DocumentIntelligenceAdministrationClientBuilder>
-
httpClient
public DocumentIntelligenceAdministrationClientBuilder httpClient(com.azure.core.http.HttpClient httpClient) .- Specified by:
httpClient
in interfacecom.azure.core.client.traits.HttpTrait<DocumentIntelligenceAdministrationClientBuilder>
-
httpLogOptions
public DocumentIntelligenceAdministrationClientBuilder httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions) .- Specified by:
httpLogOptions
in interfacecom.azure.core.client.traits.HttpTrait<DocumentIntelligenceAdministrationClientBuilder>
-
clientOptions
public DocumentIntelligenceAdministrationClientBuilder clientOptions(com.azure.core.util.ClientOptions clientOptions) .- Specified by:
clientOptions
in interfacecom.azure.core.client.traits.HttpTrait<DocumentIntelligenceAdministrationClientBuilder>
-
retryOptions
public DocumentIntelligenceAdministrationClientBuilder retryOptions(com.azure.core.http.policy.RetryOptions retryOptions) .- Specified by:
retryOptions
in interfacecom.azure.core.client.traits.HttpTrait<DocumentIntelligenceAdministrationClientBuilder>
-
addPolicy
public DocumentIntelligenceAdministrationClientBuilder addPolicy(com.azure.core.http.policy.HttpPipelinePolicy customPolicy) .- Specified by:
addPolicy
in interfacecom.azure.core.client.traits.HttpTrait<DocumentIntelligenceAdministrationClientBuilder>
-
configuration
public DocumentIntelligenceAdministrationClientBuilder configuration(com.azure.core.util.Configuration configuration) .- Specified by:
configuration
in interfacecom.azure.core.client.traits.ConfigurationTrait<DocumentIntelligenceAdministrationClientBuilder>
-
credential
public DocumentIntelligenceAdministrationClientBuilder credential(com.azure.core.credential.TokenCredential tokenCredential) .- Specified by:
credential
in interfacecom.azure.core.client.traits.TokenCredentialTrait<DocumentIntelligenceAdministrationClientBuilder>
-
credential
public DocumentIntelligenceAdministrationClientBuilder credential(com.azure.core.credential.KeyCredential keyCredential) .- Specified by:
credential
in interfacecom.azure.core.client.traits.KeyCredentialTrait<DocumentIntelligenceAdministrationClientBuilder>
-
endpoint
.- Specified by:
endpoint
in interfacecom.azure.core.client.traits.EndpointTrait<DocumentIntelligenceAdministrationClientBuilder>
-
serviceVersion
public DocumentIntelligenceAdministrationClientBuilder serviceVersion(DocumentIntelligenceServiceVersion serviceVersion) Sets Service version.- Parameters:
serviceVersion
- the serviceVersion value.- Returns:
- the DocumentIntelligenceAdministrationClientBuilder.
-
retryPolicy
public DocumentIntelligenceAdministrationClientBuilder retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy) Sets The retry policy that will attempt to retry failed requests, if applicable.- Parameters:
retryPolicy
- the retryPolicy value.- Returns:
- the DocumentIntelligenceAdministrationClientBuilder.
-
buildAsyncClient
Builds an instance of DocumentIntelligenceAdministrationAsyncClient class.- Returns:
- an instance of DocumentIntelligenceAdministrationAsyncClient.
-
buildClient
Builds an instance of DocumentIntelligenceAdministrationClient class.- Returns:
- an instance of DocumentIntelligenceAdministrationClient.
-