DocumentIntelligenceAdministrationClientBuilder Class

  • java.lang.Object
    • com.azure.ai.documentintelligence.DocumentIntelligenceAdministrationClientBuilder

Implements

public final class DocumentIntelligenceAdministrationClientBuilder
implements HttpTrait<DocumentIntelligenceAdministrationClientBuilder>, ConfigurationTrait<DocumentIntelligenceAdministrationClientBuilder>, TokenCredentialTrait<DocumentIntelligenceAdministrationClientBuilder>, KeyCredentialTrait<DocumentIntelligenceAdministrationClientBuilder>, EndpointTrait<DocumentIntelligenceAdministrationClientBuilder>

A builder for creating a new instance of the DocumentIntelligenceAdministrationClient type.

Constructor Summary

Constructor Description
DocumentIntelligenceAdministrationClientBuilder()

Create an instance of the DocumentIntelligenceAdministrationClientBuilder.

Method Summary

Modifier and Type Method and Description
DocumentIntelligenceAdministrationClientBuilder addPolicy(HttpPipelinePolicy customPolicy)

.

DocumentIntelligenceAdministrationAsyncClient buildAsyncClient()

Builds an instance of DocumentIntelligenceAdministrationAsyncClient class.

DocumentIntelligenceAdministrationClient buildClient()

Builds an instance of DocumentIntelligenceAdministrationClient class.

DocumentIntelligenceAdministrationClientBuilder clientOptions(ClientOptions clientOptions)

.

DocumentIntelligenceAdministrationClientBuilder configuration(Configuration configuration)

.

DocumentIntelligenceAdministrationClientBuilder credential(KeyCredential keyCredential)

.

DocumentIntelligenceAdministrationClientBuilder credential(TokenCredential tokenCredential)

.

DocumentIntelligenceAdministrationClientBuilder endpoint(String endpoint)

.

DocumentIntelligenceAdministrationClientBuilder httpClient(HttpClient httpClient)

.

DocumentIntelligenceAdministrationClientBuilder httpLogOptions(HttpLogOptions httpLogOptions)

.

DocumentIntelligenceAdministrationClientBuilder pipeline(HttpPipeline pipeline)

.

DocumentIntelligenceAdministrationClientBuilder retryOptions(RetryOptions retryOptions)

.

DocumentIntelligenceAdministrationClientBuilder retryPolicy(RetryPolicy retryPolicy)

Sets The retry policy that will attempt to retry failed requests, if applicable.

DocumentIntelligenceAdministrationClientBuilder serviceVersion(DocumentIntelligenceServiceVersion serviceVersion)

Sets Service version.

Methods inherited from java.lang.Object

Constructor Details

DocumentIntelligenceAdministrationClientBuilder

public DocumentIntelligenceAdministrationClientBuilder()

Create an instance of the DocumentIntelligenceAdministrationClientBuilder.

Method Details

addPolicy

public DocumentIntelligenceAdministrationClientBuilder addPolicy(HttpPipelinePolicy customPolicy)

.

Parameters:

customPolicy

buildAsyncClient

public DocumentIntelligenceAdministrationAsyncClient buildAsyncClient()

Builds an instance of DocumentIntelligenceAdministrationAsyncClient class.

Returns:

an instance of DocumentIntelligenceAdministrationAsyncClient.

buildClient

public DocumentIntelligenceAdministrationClient buildClient()

Builds an instance of DocumentIntelligenceAdministrationClient class.

Returns:

an instance of DocumentIntelligenceAdministrationClient.

clientOptions

public DocumentIntelligenceAdministrationClientBuilder clientOptions(ClientOptions clientOptions)

.

Parameters:

clientOptions

configuration

public DocumentIntelligenceAdministrationClientBuilder configuration(Configuration configuration)

.

Parameters:

configuration

credential

public DocumentIntelligenceAdministrationClientBuilder credential(KeyCredential keyCredential)

.

Parameters:

keyCredential

credential

public DocumentIntelligenceAdministrationClientBuilder credential(TokenCredential tokenCredential)

.

Parameters:

tokenCredential

endpoint

public DocumentIntelligenceAdministrationClientBuilder endpoint(String endpoint)

.

Parameters:

endpoint

httpClient

public DocumentIntelligenceAdministrationClientBuilder httpClient(HttpClient httpClient)

.

Parameters:

httpClient

httpLogOptions

public DocumentIntelligenceAdministrationClientBuilder httpLogOptions(HttpLogOptions httpLogOptions)

.

Parameters:

httpLogOptions

pipeline

public DocumentIntelligenceAdministrationClientBuilder pipeline(HttpPipeline pipeline)

.

Parameters:

pipeline

retryOptions

public DocumentIntelligenceAdministrationClientBuilder retryOptions(RetryOptions retryOptions)

.

Parameters:

retryOptions

retryPolicy

public DocumentIntelligenceAdministrationClientBuilder retryPolicy(RetryPolicy retryPolicy)

Sets The retry policy that will attempt to retry failed requests, if applicable.

Parameters:

retryPolicy - the retryPolicy value.

Returns:

the DocumentIntelligenceAdministrationClientBuilder.

serviceVersion

public DocumentIntelligenceAdministrationClientBuilder serviceVersion(DocumentIntelligenceServiceVersion serviceVersion)

Sets Service version.

Parameters:

serviceVersion - the serviceVersion value.

Returns:

the DocumentIntelligenceAdministrationClientBuilder.

Applies to