DocumentIntelligenceClientBuilder Class
- java.
lang. Object - com.
azure. ai. documentintelligence. DocumentIntelligenceClientBuilder
- com.
Implements
public final class DocumentIntelligenceClientBuilder
implements HttpTrait<DocumentIntelligenceClientBuilder>, ConfigurationTrait<DocumentIntelligenceClientBuilder>, TokenCredentialTrait<DocumentIntelligenceClientBuilder>, KeyCredentialTrait<DocumentIntelligenceClientBuilder>, EndpointTrait<DocumentIntelligenceClientBuilder>
A builder for creating a new instance of the DocumentIntelligenceClient type.
Constructor Summary
Constructor | Description |
---|---|
DocumentIntelligenceClientBuilder() |
Create an instance of the Document |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
DocumentIntelligenceClientBuilder
public DocumentIntelligenceClientBuilder()
Create an instance of the DocumentIntelligenceClientBuilder.
Method Details
addPolicy
public DocumentIntelligenceClientBuilder addPolicy(HttpPipelinePolicy customPolicy)
.
Parameters:
buildAsyncClient
public DocumentIntelligenceAsyncClient buildAsyncClient()
Builds an instance of DocumentIntelligenceAsyncClient class.
Returns:
buildClient
public DocumentIntelligenceClient buildClient()
Builds an instance of DocumentIntelligenceClient class.
Returns:
clientOptions
public DocumentIntelligenceClientBuilder clientOptions(ClientOptions clientOptions)
.
Parameters:
configuration
public DocumentIntelligenceClientBuilder configuration(Configuration configuration)
.
Parameters:
credential
public DocumentIntelligenceClientBuilder credential(KeyCredential keyCredential)
.
Parameters:
credential
public DocumentIntelligenceClientBuilder credential(TokenCredential tokenCredential)
.
Parameters:
endpoint
public DocumentIntelligenceClientBuilder endpoint(String endpoint)
.
Parameters:
httpClient
public DocumentIntelligenceClientBuilder httpClient(HttpClient httpClient)
.
Parameters:
httpLogOptions
public DocumentIntelligenceClientBuilder httpLogOptions(HttpLogOptions httpLogOptions)
.
Parameters:
pipeline
public DocumentIntelligenceClientBuilder pipeline(HttpPipeline pipeline)
.
Parameters:
retryOptions
public DocumentIntelligenceClientBuilder retryOptions(RetryOptions retryOptions)
.
Parameters:
retryPolicy
public DocumentIntelligenceClientBuilder retryPolicy(RetryPolicy retryPolicy)
Sets The retry policy that will attempt to retry failed requests, if applicable.
Parameters:
Returns:
serviceVersion
public DocumentIntelligenceClientBuilder serviceVersion(DocumentIntelligenceServiceVersion serviceVersion)
Sets Service version.
Parameters:
Returns:
Applies to
Azure SDK for Java