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