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