Uses of Class
com.azure.communication.email.EmailClientBuilder
Packages that use EmailClientBuilder
Package
Description
Package containing the classes for AzureCommunicationServices.
-
Uses of EmailClientBuilder in com.azure.communication.email
Methods in com.azure.communication.email that return EmailClientBuilderModifier and TypeMethodDescriptionEmailClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy customPolicy) Adds apipeline policyto apply on each request sent.EmailClientBuilder.clientOptions(com.azure.core.util.ClientOptions clientOptions) Allows for setting common properties such as application ID, headers, proxy configuration, etc.EmailClientBuilder.configuration(com.azure.core.util.Configuration configuration) Sets the client-specific configuration used to retrieve client or global configuration properties when building a client.EmailClientBuilder.connectionString(String connectionString) Set endpoint and credential to useEmailClientBuilder.credential(com.azure.core.credential.AzureKeyCredential azureKeyCredential) Sets theAzureKeyCredentialused for authentication.EmailClientBuilder.credential(com.azure.core.credential.TokenCredential tokenCredential) Sets theTokenCredentialused to authorize requests sent to the service.Sets the service endpoint that will be connected to by clients.EmailClientBuilder.httpClient(com.azure.core.http.HttpClient httpClient) Sets theHttpClientto use for sending and receiving requests to and from the service.EmailClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions) Sets thelogging configurationto use when sending and receiving requests to and from the service.EmailClientBuilder.pipeline(com.azure.core.http.HttpPipeline pipeline) Sets theHttpPipelineto use for the service client.EmailClientBuilder.retryOptions(com.azure.core.http.policy.RetryOptions retryOptions) Sets theRetryOptionsfor all the requests made through the client.EmailClientBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy) Sets The retry policy that will attempt to retry failed requests, if applicable.EmailClientBuilder.serviceVersion(EmailServiceVersion serviceVersion) Sets Service version.