Package containing the classes for RouteClient.
-
MapsRouteClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy customPolicy)
Adds a custom Http pipeline policy.
MapsRouteClientBuilder.clientOptions(com.azure.core.util.ClientOptions clientOptions)
Sets The client options such as application ID and custom headers to set on a request.
MapsRouteClientBuilder.configuration(com.azure.core.util.Configuration configuration)
Sets The configuration store that is used during construction of the service client.
MapsRouteClientBuilder.credential(com.azure.core.credential.AzureKeyCredential keyCredential)
Sets the AzureKeyCredential
used to authenticate HTTP requests.
MapsRouteClientBuilder.credential(com.azure.core.credential.TokenCredential tokenCredential)
Sets the TokenCredential
used to authenticate HTTP requests.
Set endpoint of the service.
MapsRouteClientBuilder.httpClient(com.azure.core.http.HttpClient httpClient)
Sets The HTTP client used to send the request.
MapsRouteClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
Sets The logging configuration for HTTP requests and responses.
Sets the Azure Maps client id for use with Azure AD Authentication.
MapsRouteClientBuilder.pipeline(com.azure.core.http.HttpPipeline pipeline)
Sets The HTTP pipeline to send requests through.
MapsRouteClientBuilder.retryOptions(com.azure.core.http.policy.RetryOptions retryOptions)
MapsRouteClientBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
Sets The retry policy that will attempt to retry failed requests, if applicable.