Class ContainerRegistryBlobClientBuilder

java.lang.Object
com.azure.containers.containerregistry.specialized.ContainerRegistryBlobClientBuilder
All Implemented Interfaces:
ConfigurationTrait<ContainerRegistryBlobClientBuilder>, EndpointTrait<ContainerRegistryBlobClientBuilder>, HttpTrait<ContainerRegistryBlobClientBuilder>, TokenCredentialTrait<ContainerRegistryBlobClientBuilder>

This class provides a fluent builder API to help aid the configuration and instantiation of ContainerRegistryBlobClients and ContainerRegistryBlobAsyncClients, call buildClient and buildAsyncClient respectively to construct an instance of the desired client.

Another way to construct the client is using a HttpPipeline. The pipeline gives the client an authenticated way to communicate with the service but it doesn't contain the service endpoint. Set the pipeline with this and set the service endpoint with this. Using a pipeline requires additional setup but allows for finer control on how the ContainerRegistryBlobClient and ContainerRegistryBlobAsyncClient is built.

The service does not directly support AAD credentials and as a result the clients internally depend on a policy that converts the AAD credentials to the Azure Container Registry specific service credentials. In case you use your own pipeline, you would need to provide implementation for this policy as well. For more information please see Azure Container Registry Authentication .