Uses of Class
com.azure.communication.networktraversal.CommunicationRelayClientBuilder
Package
Description
Package containing the classes for AzureCommunicationNetworkTraversal.
-
Uses of CommunicationRelayClientBuilder in com.azure.communication.networktraversal
Modifier and TypeMethodDescriptionCommunicationRelayClientBuilder.addPolicy
(HttpPipelinePolicy customPolicy) Adds apipeline policy
to apply on each request sent.CommunicationRelayClientBuilder.clientOptions
(ClientOptions clientOptions) Allows for setting common properties such as application ID, headers, proxy configuration, etc.CommunicationRelayClientBuilder.configuration
(Configuration configuration) Sets the configuration object used to retrieve environment configuration values during building of the client.CommunicationRelayClientBuilder.connectionString
(String connectionString) Set endpoint and credential to useCommunicationRelayClientBuilder.credential
(AzureKeyCredential keyCredential) Sets theAzureKeyCredential
used to authenticate HTTP requests.CommunicationRelayClientBuilder.credential
(TokenCredential tokenCredential) Sets theTokenCredential
used to authorize requests sent to the service.Set endpoint of the serviceCommunicationRelayClientBuilder.httpClient
(HttpClient httpClient) Sets theHttpClient
to use for sending and receiving requests to and from the service.CommunicationRelayClientBuilder.httpLogOptions
(HttpLogOptions logOptions) Sets thelogging configuration
to use when sending and receiving requests to and from the service.CommunicationRelayClientBuilder.pipeline
(HttpPipeline pipeline) Sets theHttpPipeline
to use for the service client.CommunicationRelayClientBuilder.retryOptions
(RetryOptions retryOptions) Sets theRetryOptions
for all the requests made through the client.CommunicationRelayClientBuilder.retryPolicy
(RetryPolicy retryPolicy) Sets theRetryPolicy
that is used when each request is sent.CommunicationRelayClientBuilder.serviceVersion
(CommunicationRelayServiceVersion version) Sets theCommunicationRelayServiceVersion
that is used when making API requests.