Uses of Class
com.azure.communication.chat.ChatClientBuilder
Packages that use ChatClientBuilder
Package
Description
Package containing the classes for AzureCommunicationChatService.
-
Uses of ChatClientBuilder in com.azure.communication.chat
Methods in com.azure.communication.chat that return ChatClientBuilderModifier and TypeMethodDescriptionChatClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy customPolicy) Adds apipeline policyto apply on each request sent.ChatClientBuilder.clientOptions(com.azure.core.util.ClientOptions clientOptions) Allows for setting common properties such as application ID, headers, proxy configuration, etc.ChatClientBuilder.configuration(com.azure.core.util.Configuration configuration) Sets the configuration object used to retrieve environment configuration values during building of the client.ChatClientBuilder.credential(com.azure.communication.common.CommunicationTokenCredential communicationTokenCredential) Set a token credential for authorizationSet endpoint of the serviceChatClientBuilder.httpClient(com.azure.core.http.HttpClient httpClient) Sets theHttpClientto use for sending and receiving requests to and from the service.ChatClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions logOptions) Sets thelogging configurationto use when sending and receiving requests to and from the service.ChatClientBuilder.pipeline(com.azure.core.http.HttpPipeline httpPipeline) Sets theHttpPipelineto use for the service client.ChatClientBuilder.retryOptions(com.azure.core.http.policy.RetryOptions retryOptions) Sets theRetryOptionsfor all the requests made through the client.ChatClientBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy) Sets theHttpPipelinePolicythat will attempt to retry requests when needed.ChatClientBuilder.serviceVersion(ChatServiceVersion version) Sets theChatServiceVersionthat is used when making API requests.