Class PurviewScanningClientBuilder
java.lang.Object
com.azure.analytics.purview.scanning.PurviewScanningClientBuilder
A builder for creating a new instance of the PurviewScanningClient type.
-
Constructor Summary
ConstructorDescriptionCreate an instance of the PurviewScanningClientBuilder. -
Method Summary
Modifier and TypeMethodDescriptionaddPolicy
(HttpPipelinePolicy customPolicy) Adds a custom Http pipeline policy.Builds an instance of ClassificationRulesAsyncClient async client.Builds an instance of ClassificationRulesClient sync client.Builds an instance of DataSourcesAsyncClient async client.Builds an instance of DataSourcesClient sync client.Builds an instance of FiltersAsyncClient async client.Builds an instance of FiltersClient sync client.Builds an instance of KeyVaultConnectionsAsyncClient async client.Builds an instance of KeyVaultConnectionsClient sync client.Builds an instance of ScanResultAsyncClient async client.Builds an instance of ScanResultClient sync client.Builds an instance of ScanRulesetsAsyncClient async client.Builds an instance of ScanRulesetsClient sync client.Builds an instance of ScansAsyncClient async client.Builds an instance of ScansClient sync client.Builds an instance of SystemScanRulesetsAsyncClient async client.Builds an instance of SystemScanRulesetsClient sync client.Builds an instance of TriggersAsyncClient async client.Builds an instance of TriggersClient sync client.clientOptions
(ClientOptions clientOptions) Sets The client options such as application ID and custom headers to set on a request.configuration
(Configuration configuration) Sets The configuration store that is used during construction of the service client.credential
(TokenCredential tokenCredential) Sets The TokenCredential used for authentication.Sets The scanning endpoint of your purview account.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.serviceVersion
(PurviewScanningServiceVersion serviceVersion) Sets Service version.
-
Constructor Details
-
PurviewScanningClientBuilder
public PurviewScanningClientBuilder()Create an instance of the PurviewScanningClientBuilder.
-
-
Method Details
-
endpoint
Sets The scanning endpoint of your purview account. Example: https://{accountName}.scan.purview.azure.com.- Parameters:
endpoint
- the endpoint value.- Returns:
- the PurviewScanningClientBuilder.
-
serviceVersion
Sets Service version.- Parameters:
serviceVersion
- the serviceVersion value.- Returns:
- the PurviewScanningClientBuilder.
-
pipeline
Sets The HTTP pipeline to send requests through.- Parameters:
pipeline
- the pipeline value.- Returns:
- the PurviewScanningClientBuilder.
-
httpClient
Sets The HTTP client used to send the request.- Parameters:
httpClient
- the httpClient value.- Returns:
- the PurviewScanningClientBuilder.
-
configuration
Sets The configuration store that is used during construction of the service client.- Parameters:
configuration
- the configuration value.- Returns:
- the PurviewScanningClientBuilder.
-
credential
Sets The TokenCredential used for authentication.- Parameters:
tokenCredential
- the tokenCredential value.- Returns:
- the PurviewScanningClientBuilder.
-
httpLogOptions
Sets The logging configuration for HTTP requests and responses.- Parameters:
httpLogOptions
- the httpLogOptions value.- Returns:
- the PurviewScanningClientBuilder.
-
retryPolicy
Sets The retry policy that will attempt to retry failed requests, if applicable.- Parameters:
retryPolicy
- the retryPolicy value.- Returns:
- the PurviewScanningClientBuilder.
-
clientOptions
Sets The client options such as application ID and custom headers to set on a request.- Parameters:
clientOptions
- the clientOptions value.- Returns:
- the PurviewScanningClientBuilder.
-
addPolicy
Adds a custom Http pipeline policy.- Parameters:
customPolicy
- The custom Http pipeline policy to add.- Returns:
- the PurviewScanningClientBuilder.
-
buildKeyVaultConnectionsAsyncClient
Builds an instance of KeyVaultConnectionsAsyncClient async client.- Returns:
- an instance of KeyVaultConnectionsAsyncClient.
-
buildClassificationRulesAsyncClient
Builds an instance of ClassificationRulesAsyncClient async client.- Returns:
- an instance of ClassificationRulesAsyncClient.
-
buildDataSourcesAsyncClient
Builds an instance of DataSourcesAsyncClient async client.- Returns:
- an instance of DataSourcesAsyncClient.
-
buildFiltersAsyncClient
Builds an instance of FiltersAsyncClient async client.- Returns:
- an instance of FiltersAsyncClient.
-
buildScansAsyncClient
Builds an instance of ScansAsyncClient async client.- Returns:
- an instance of ScansAsyncClient.
-
buildScanResultAsyncClient
Builds an instance of ScanResultAsyncClient async client.- Returns:
- an instance of ScanResultAsyncClient.
-
buildScanRulesetsAsyncClient
Builds an instance of ScanRulesetsAsyncClient async client.- Returns:
- an instance of ScanRulesetsAsyncClient.
-
buildSystemScanRulesetsAsyncClient
Builds an instance of SystemScanRulesetsAsyncClient async client.- Returns:
- an instance of SystemScanRulesetsAsyncClient.
-
buildTriggersAsyncClient
Builds an instance of TriggersAsyncClient async client.- Returns:
- an instance of TriggersAsyncClient.
-
buildKeyVaultConnectionsClient
Builds an instance of KeyVaultConnectionsClient sync client.- Returns:
- an instance of KeyVaultConnectionsClient.
-
buildClassificationRulesClient
Builds an instance of ClassificationRulesClient sync client.- Returns:
- an instance of ClassificationRulesClient.
-
buildDataSourcesClient
Builds an instance of DataSourcesClient sync client.- Returns:
- an instance of DataSourcesClient.
-
buildFiltersClient
Builds an instance of FiltersClient sync client.- Returns:
- an instance of FiltersClient.
-
buildScansClient
Builds an instance of ScansClient sync client.- Returns:
- an instance of ScansClient.
-
buildScanResultClient
Builds an instance of ScanResultClient sync client.- Returns:
- an instance of ScanResultClient.
-
buildScanRulesetsClient
Builds an instance of ScanRulesetsClient sync client.- Returns:
- an instance of ScanRulesetsClient.
-
buildSystemScanRulesetsClient
Builds an instance of SystemScanRulesetsClient sync client.- Returns:
- an instance of SystemScanRulesetsClient.
-
buildTriggersClient
Builds an instance of TriggersClient sync client.- Returns:
- an instance of TriggersClient.
-