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