你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AnomalyDetectorClientBuilder Class
- java.
lang. Object - com.
azure. ai. anomalydetector. AnomalyDetectorClientBuilder
- com.
Implements
public final class AnomalyDetectorClientBuilder
implements HttpTrait<AnomalyDetectorClientBuilder>, ConfigurationTrait<AnomalyDetectorClientBuilder>, AzureKeyCredentialTrait<AnomalyDetectorClientBuilder>, EndpointTrait<AnomalyDetectorClientBuilder>
A builder for creating a new instance of the AnomalyDetectorClient type.
Constructor Summary
Constructor | Description |
---|---|
AnomalyDetectorClientBuilder() |
Create an instance of the Anomaly |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
AnomalyDetectorClientBuilder
public AnomalyDetectorClientBuilder()
Create an instance of the AnomalyDetectorClientBuilder.
Method Details
addPolicy
public AnomalyDetectorClientBuilder addPolicy(HttpPipelinePolicy customPolicy)
.
Parameters:
buildAsyncClient
public AnomalyDetectorAsyncClient buildAsyncClient()
Builds an instance of AnomalyDetectorAsyncClient class.
Returns:
buildClient
public AnomalyDetectorClient buildClient()
Builds an instance of AnomalyDetectorClient class.
Returns:
clientOptions
public AnomalyDetectorClientBuilder clientOptions(ClientOptions clientOptions)
.
Parameters:
configuration
public AnomalyDetectorClientBuilder configuration(Configuration configuration)
.
Parameters:
credential
public AnomalyDetectorClientBuilder credential(AzureKeyCredential azureKeyCredential)
.
Parameters:
endpoint
public AnomalyDetectorClientBuilder endpoint(String endpoint)
.
Parameters:
httpClient
public AnomalyDetectorClientBuilder httpClient(HttpClient httpClient)
.
Parameters:
httpLogOptions
public AnomalyDetectorClientBuilder httpLogOptions(HttpLogOptions httpLogOptions)
.
Parameters:
pipeline
public AnomalyDetectorClientBuilder pipeline(HttpPipeline pipeline)
.
Parameters:
retryOptions
public AnomalyDetectorClientBuilder retryOptions(RetryOptions retryOptions)
.
Parameters:
retryPolicy
public AnomalyDetectorClientBuilder retryPolicy(RetryPolicy retryPolicy)
Sets The retry policy that will attempt to retry failed requests, if applicable.
Parameters:
Returns:
serviceVersion
public AnomalyDetectorClientBuilder serviceVersion(AnomalyDetectorServiceVersion serviceVersion)
Sets Service version.
Parameters:
Returns: