Class LineageClientBuilder
- java.lang.Object
-
- com.azure.analytics.purview.catalog.LineageClientBuilder
-
public final class LineageClientBuilder extends Object
A builder for creating a new instance of the LineageClient type.
-
-
Constructor Summary
Constructors Constructor Description LineageClientBuilder()
Create an instance of the LineageClientBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LineageClientBuilder
addPolicy(com.azure.core.http.policy.HttpPipelinePolicy customPolicy)
Adds a custom Http pipeline policy.LineageAsyncClient
buildAsyncClient()
Builds an instance of LineageAsyncClient class.LineageClient
buildClient()
Builds an instance of LineageClient class.LineageClientBuilder
clientOptions(com.azure.core.util.ClientOptions clientOptions)
Sets The client options such as application ID and custom headers to set on a request.LineageClientBuilder
configuration(com.azure.core.util.Configuration configuration)
Sets The configuration store that is used during construction of the service client.LineageClientBuilder
credential(com.azure.core.credential.TokenCredential tokenCredential)
Sets The TokenCredential used for authentication.LineageClientBuilder
endpoint(String endpoint)
Sets The catalog endpoint of your Purview account.LineageClientBuilder
httpClient(com.azure.core.http.HttpClient httpClient)
Sets The HTTP client used to send the request.LineageClientBuilder
httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
Sets The logging configuration for HTTP requests and responses.LineageClientBuilder
pipeline(com.azure.core.http.HttpPipeline pipeline)
Sets The HTTP pipeline to send requests through.LineageClientBuilder
retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
Sets The retry policy that will attempt to retry failed requests, if applicable.LineageClientBuilder
serviceVersion(PurviewCatalogServiceVersion serviceVersion)
Sets Service version.
-
-
-
Method Detail
-
endpoint
public LineageClientBuilder endpoint(String endpoint)
Sets The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com.- Parameters:
endpoint
- the endpoint value.- Returns:
- the LineageClientBuilder.
-
serviceVersion
public LineageClientBuilder serviceVersion(PurviewCatalogServiceVersion serviceVersion)
Sets Service version.- Parameters:
serviceVersion
- the serviceVersion value.- Returns:
- the LineageClientBuilder.
-
pipeline
public LineageClientBuilder pipeline(com.azure.core.http.HttpPipeline pipeline)
Sets The HTTP pipeline to send requests through.- Parameters:
pipeline
- the pipeline value.- Returns:
- the LineageClientBuilder.
-
httpClient
public LineageClientBuilder httpClient(com.azure.core.http.HttpClient httpClient)
Sets The HTTP client used to send the request.- Parameters:
httpClient
- the httpClient value.- Returns:
- the LineageClientBuilder.
-
configuration
public LineageClientBuilder configuration(com.azure.core.util.Configuration configuration)
Sets The configuration store that is used during construction of the service client.- Parameters:
configuration
- the configuration value.- Returns:
- the LineageClientBuilder.
-
credential
public LineageClientBuilder credential(com.azure.core.credential.TokenCredential tokenCredential)
Sets The TokenCredential used for authentication.- Parameters:
tokenCredential
- the tokenCredential value.- Returns:
- the LineageClientBuilder.
-
httpLogOptions
public LineageClientBuilder httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
Sets The logging configuration for HTTP requests and responses.- Parameters:
httpLogOptions
- the httpLogOptions value.- Returns:
- the LineageClientBuilder.
-
retryPolicy
public LineageClientBuilder retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
Sets The retry policy that will attempt to retry failed requests, if applicable.- Parameters:
retryPolicy
- the retryPolicy value.- Returns:
- the LineageClientBuilder.
-
clientOptions
public LineageClientBuilder clientOptions(com.azure.core.util.ClientOptions clientOptions)
Sets The client options such as application ID and custom headers to set on a request.- Parameters:
clientOptions
- the clientOptions value.- Returns:
- the LineageClientBuilder.
-
addPolicy
public LineageClientBuilder addPolicy(com.azure.core.http.policy.HttpPipelinePolicy customPolicy)
Adds a custom Http pipeline policy.- Parameters:
customPolicy
- The custom Http pipeline policy to add.- Returns:
- the LineageClientBuilder.
-
buildAsyncClient
public LineageAsyncClient buildAsyncClient()
Builds an instance of LineageAsyncClient class.- Returns:
- an instance of LineageAsyncClient.
-
buildClient
public LineageClient buildClient()
Builds an instance of LineageClient class.- Returns:
- an instance of LineageClient.
-
-