DocumentIntelligenceAdministrationClientBuilder Class
- java.
lang. Object - com.
azure. ai. documentintelligence. DocumentIntelligenceAdministrationClientBuilder
- com.
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 Document |
Method Summary
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:
buildAsyncClient
public DocumentIntelligenceAdministrationAsyncClient buildAsyncClient()
Builds an instance of DocumentIntelligenceAdministrationAsyncClient class.
Returns:
buildClient
public DocumentIntelligenceAdministrationClient buildClient()
Builds an instance of DocumentIntelligenceAdministrationClient class.
Returns:
clientOptions
public DocumentIntelligenceAdministrationClientBuilder clientOptions(ClientOptions clientOptions)
.
Parameters:
configuration
public DocumentIntelligenceAdministrationClientBuilder configuration(Configuration configuration)
.
Parameters:
credential
public DocumentIntelligenceAdministrationClientBuilder credential(KeyCredential keyCredential)
.
Parameters:
credential
public DocumentIntelligenceAdministrationClientBuilder credential(TokenCredential tokenCredential)
.
Parameters:
endpoint
public DocumentIntelligenceAdministrationClientBuilder endpoint(String endpoint)
.
Parameters:
httpClient
public DocumentIntelligenceAdministrationClientBuilder httpClient(HttpClient httpClient)
.
Parameters:
httpLogOptions
public DocumentIntelligenceAdministrationClientBuilder httpLogOptions(HttpLogOptions httpLogOptions)
.
Parameters:
pipeline
public DocumentIntelligenceAdministrationClientBuilder pipeline(HttpPipeline pipeline)
.
Parameters:
retryOptions
public DocumentIntelligenceAdministrationClientBuilder retryOptions(RetryOptions retryOptions)
.
Parameters:
retryPolicy
public DocumentIntelligenceAdministrationClientBuilder retryPolicy(RetryPolicy retryPolicy)
Sets The retry policy that will attempt to retry failed requests, if applicable.
Parameters:
Returns:
serviceVersion
public DocumentIntelligenceAdministrationClientBuilder serviceVersion(DocumentIntelligenceServiceVersion serviceVersion)
Sets Service version.
Parameters:
Returns: