Uses of Class
com.azure.communication.phonenumbers.PhoneNumbersClientBuilder
Packages that use PhoneNumbersClientBuilder
Package
Description
Package containing the classes for AzureCommunicationPhoneNumbers.
-
Uses of PhoneNumbersClientBuilder in com.azure.communication.phonenumbers
Methods in com.azure.communication.phonenumbers that return PhoneNumbersClientBuilderModifier and TypeMethodDescriptionPhoneNumbersClientBuilder.acceptLanguage(String acceptLanguage) Sets the accepted language to be used in the client.PhoneNumbersClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy policy) Adds apipeline policyto 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 theAzureKeyCredentialused to authenticate HTTP requests.PhoneNumbersClientBuilder.credential(com.azure.core.credential.TokenCredential tokenCredential) Sets theTokenCredentialused to authorize requests sent to the service.Set endpoint of the servicePhoneNumbersClientBuilder.httpClient(com.azure.core.http.HttpClient httpClient) Sets theHttpClientto use for sending and receiving requests to and from the service.PhoneNumbersClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions) Sets thelogging configurationto use when sending and receiving requests to and from the service.PhoneNumbersClientBuilder.pipeline(com.azure.core.http.HttpPipeline pipeline) Sets theHttpPipelineto use for the service client.PhoneNumbersClientBuilder.retryOptions(com.azure.core.http.policy.RetryOptions retryOptions) Sets theRetryOptionsfor all the requests made through the client.PhoneNumbersClientBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy) Sets theRetryPolicythat is used when each request is sent.PhoneNumbersClientBuilder.serviceVersion(PhoneNumbersServiceVersion version) Sets thePhoneNumbersServiceVersionthat is used when making API requests.