Class PurviewCatalogClientBuilder


  • public final class PurviewCatalogClientBuilder
    extends Object
    A builder for creating a new instance of the PurviewCatalogClient type.
    • Constructor Detail

      • PurviewCatalogClientBuilder

        public PurviewCatalogClientBuilder()
        Create an instance of the PurviewCatalogClientBuilder.
    • Method Detail

      • endpoint

        public PurviewCatalogClientBuilder endpoint​(String endpoint)
        Sets The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com.
        Parameters:
        endpoint - the endpoint value.
        Returns:
        the PurviewCatalogClientBuilder.
      • pipeline

        public PurviewCatalogClientBuilder pipeline​(HttpPipeline pipeline)
        Sets The HTTP pipeline to send requests through.
        Parameters:
        pipeline - the pipeline value.
        Returns:
        the PurviewCatalogClientBuilder.
      • httpClient

        public PurviewCatalogClientBuilder httpClient​(HttpClient httpClient)
        Sets The HTTP client used to send the request.
        Parameters:
        httpClient - the httpClient value.
        Returns:
        the PurviewCatalogClientBuilder.
      • configuration

        public PurviewCatalogClientBuilder configuration​(Configuration configuration)
        Sets The configuration store that is used during construction of the service client.
        Parameters:
        configuration - the configuration value.
        Returns:
        the PurviewCatalogClientBuilder.
      • credential

        public PurviewCatalogClientBuilder credential​(TokenCredential tokenCredential)
        Sets The TokenCredential used for authentication.
        Parameters:
        tokenCredential - the tokenCredential value.
        Returns:
        the PurviewCatalogClientBuilder.
      • httpLogOptions

        public PurviewCatalogClientBuilder httpLogOptions​(HttpLogOptions httpLogOptions)
        Sets The logging configuration for HTTP requests and responses.
        Parameters:
        httpLogOptions - the httpLogOptions value.
        Returns:
        the PurviewCatalogClientBuilder.
      • retryPolicy

        public PurviewCatalogClientBuilder retryPolicy​(RetryPolicy retryPolicy)
        Sets The retry policy that will attempt to retry failed requests, if applicable.
        Parameters:
        retryPolicy - the retryPolicy value.
        Returns:
        the PurviewCatalogClientBuilder.
      • clientOptions

        public PurviewCatalogClientBuilder clientOptions​(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 PurviewCatalogClientBuilder.
      • addPolicy

        public PurviewCatalogClientBuilder addPolicy​(HttpPipelinePolicy customPolicy)
        Adds a custom Http pipeline policy.
        Parameters:
        customPolicy - The custom Http pipeline policy to add.
        Returns:
        the PurviewCatalogClientBuilder.
      • buildEntityAsyncClient

        public EntityAsyncClient buildEntityAsyncClient()
        Builds an instance of EntityAsyncClient async client.
        Returns:
        an instance of EntityAsyncClient.
      • buildGlossaryAsyncClient

        public GlossaryAsyncClient buildGlossaryAsyncClient()
        Builds an instance of GlossaryAsyncClient async client.
        Returns:
        an instance of GlossaryAsyncClient.
      • buildDiscoveryAsyncClient

        public DiscoveryAsyncClient buildDiscoveryAsyncClient()
        Builds an instance of DiscoveryAsyncClient async client.
        Returns:
        an instance of DiscoveryAsyncClient.
      • buildLineageAsyncClient

        public LineageAsyncClient buildLineageAsyncClient()
        Builds an instance of LineageAsyncClient async client.
        Returns:
        an instance of LineageAsyncClient.
      • buildRelationshipAsyncClient

        public RelationshipAsyncClient buildRelationshipAsyncClient()
        Builds an instance of RelationshipAsyncClient async client.
        Returns:
        an instance of RelationshipAsyncClient.
      • buildTypesAsyncClient

        public TypesAsyncClient buildTypesAsyncClient()
        Builds an instance of TypesAsyncClient async client.
        Returns:
        an instance of TypesAsyncClient.
      • buildCollectionAsyncClient

        public CollectionAsyncClient buildCollectionAsyncClient()
        Builds an instance of CollectionAsyncClient async client.
        Returns:
        an instance of CollectionAsyncClient.
      • buildEntityClient

        public EntityClient buildEntityClient()
        Builds an instance of EntityClient sync client.
        Returns:
        an instance of EntityClient.
      • buildGlossaryClient

        public GlossaryClient buildGlossaryClient()
        Builds an instance of GlossaryClient sync client.
        Returns:
        an instance of GlossaryClient.
      • buildDiscoveryClient

        public DiscoveryClient buildDiscoveryClient()
        Builds an instance of DiscoveryClient sync client.
        Returns:
        an instance of DiscoveryClient.
      • buildLineageClient

        public LineageClient buildLineageClient()
        Builds an instance of LineageClient sync client.
        Returns:
        an instance of LineageClient.
      • buildRelationshipClient

        public RelationshipClient buildRelationshipClient()
        Builds an instance of RelationshipClient sync client.
        Returns:
        an instance of RelationshipClient.
      • buildTypesClient

        public TypesClient buildTypesClient()
        Builds an instance of TypesClient sync client.
        Returns:
        an instance of TypesClient.
      • buildCollectionClient

        public CollectionClient buildCollectionClient()
        Builds an instance of CollectionClient sync client.
        Returns:
        an instance of CollectionClient.