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