Class TypesClientBuilder

java.lang.Object
com.azure.analytics.purview.catalog.TypesClientBuilder
All Implemented Interfaces:
com.azure.core.client.traits.ConfigurationTrait<TypesClientBuilder>, com.azure.core.client.traits.EndpointTrait<TypesClientBuilder>, com.azure.core.client.traits.HttpTrait<TypesClientBuilder>, com.azure.core.client.traits.TokenCredentialTrait<TypesClientBuilder>

public final class TypesClientBuilder extends Object implements com.azure.core.client.traits.HttpTrait<TypesClientBuilder>, com.azure.core.client.traits.ConfigurationTrait<TypesClientBuilder>, com.azure.core.client.traits.TokenCredentialTrait<TypesClientBuilder>, com.azure.core.client.traits.EndpointTrait<TypesClientBuilder>
A builder for creating a new instance of the TypesClient type.
  • Constructor Details

    • TypesClientBuilder

      public TypesClientBuilder()
      Create an instance of the TypesClientBuilder.
  • Method Details

    • pipeline

      public TypesClientBuilder pipeline(com.azure.core.http.HttpPipeline pipeline)
      .
      Specified by:
      pipeline in interface com.azure.core.client.traits.HttpTrait<TypesClientBuilder>
    • httpClient

      public TypesClientBuilder httpClient(com.azure.core.http.HttpClient httpClient)
      .
      Specified by:
      httpClient in interface com.azure.core.client.traits.HttpTrait<TypesClientBuilder>
    • httpLogOptions

      public TypesClientBuilder httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
      .
      Specified by:
      httpLogOptions in interface com.azure.core.client.traits.HttpTrait<TypesClientBuilder>
    • clientOptions

      public TypesClientBuilder clientOptions(com.azure.core.util.ClientOptions clientOptions)
      .
      Specified by:
      clientOptions in interface com.azure.core.client.traits.HttpTrait<TypesClientBuilder>
    • retryOptions

      public TypesClientBuilder retryOptions(com.azure.core.http.policy.RetryOptions retryOptions)
      .
      Specified by:
      retryOptions in interface com.azure.core.client.traits.HttpTrait<TypesClientBuilder>
    • addPolicy

      public TypesClientBuilder addPolicy(com.azure.core.http.policy.HttpPipelinePolicy customPolicy)
      .
      Specified by:
      addPolicy in interface com.azure.core.client.traits.HttpTrait<TypesClientBuilder>
    • configuration

      public TypesClientBuilder configuration(com.azure.core.util.Configuration configuration)
      .
      Specified by:
      configuration in interface com.azure.core.client.traits.ConfigurationTrait<TypesClientBuilder>
    • credential

      public TypesClientBuilder credential(com.azure.core.credential.TokenCredential tokenCredential)
      .
      Specified by:
      credential in interface com.azure.core.client.traits.TokenCredentialTrait<TypesClientBuilder>
    • endpoint

      public TypesClientBuilder endpoint(String endpoint)
      .
      Specified by:
      endpoint in interface com.azure.core.client.traits.EndpointTrait<TypesClientBuilder>
    • serviceVersion

      public TypesClientBuilder serviceVersion(PurviewCatalogServiceVersion serviceVersion)
      Sets Service version.
      Parameters:
      serviceVersion - the serviceVersion value.
      Returns:
      the TypesClientBuilder.
    • retryPolicy

      public TypesClientBuilder 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 TypesClientBuilder.
    • buildAsyncClient

      public TypesAsyncClient buildAsyncClient()
      Builds an instance of TypesAsyncClient class.
      Returns:
      an instance of TypesAsyncClient.
    • buildClient

      public TypesClient buildClient()
      Builds an instance of TypesClient class.
      Returns:
      an instance of TypesClient.