AnomalyDetectorClientBuilder Class
Definition
A builder for creating a new instance of the AnomalyDetectorClient type.
public final class AnomalyDetectorClientBuilder
- Inheritance
-
java.lang.ObjectAnomalyDetectorClientBuilder
Inherited Members
Constructors
| AnomalyDetectorClientBuilder() |
Create an instance of the AnomalyDetectorClientBuilder. |
Methods
| addPolicy(HttpPipelinePolicy customPolicy) |
Adds a custom Http pipeline policy. |
| apiVersion(String apiVersion) |
Sets Anomaly Detector API version (for example, v1.0). |
| buildAsyncClient() |
Builds an instance of AnomalyDetectorAsyncClient async client. |
| buildClient() |
Builds an instance of AnomalyDetectorClient sync client. |
| configuration(Configuration configuration) |
Sets The configuration store that is used during construction of the service client. |
| endpoint(String endpoint) |
Sets Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus2.api.cognitive.microsoft.com). |
| httpClient(HttpClient httpClient) |
Sets The HTTP client used to send the request. |
| httpLogOptions(HttpLogOptions httpLogOptions) |
Sets The logging configuration for HTTP requests and responses. |
| pipeline(HttpPipeline pipeline) |
Sets The HTTP pipeline to send requests through. |
| retryPolicy(RetryPolicy retryPolicy) |
Sets The retry policy that will attempt to retry failed requests, if applicable. |
| serializerAdapter(SerializerAdapter serializerAdapter) |
Sets The serializer to serialize an object into a string. |