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