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