Package com.azure.storage.blob.batch
Class BlobBatchClientBuilder
java.lang.Object
com.azure.storage.blob.batch.BlobBatchClientBuilder
This class provides a fluent builder API to help aid the configuration and instantiation of
BlobBatchClients and BlobBatchAsyncClients when buildClient and
buildAsyncClient as called respectively.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs theBlobBatchClientBuilderusing thecontainer URLandHttpPipelineproperties of the passedBlobContainerAsyncClient.Constructs theBlobBatchClientBuilderusing thecontainer URLandHttpPipelineproperties of the passedBlobContainerClient.Constructs theBlobBatchClientBuilderusing theaccount URLandHttpPipelineproperties of the passedBlobServiceAsyncClient.Constructs theBlobBatchClientBuilderusing theaccount URLandHttpPipelineproperties of the passedBlobServiceClient. -
Method Summary
Modifier and TypeMethodDescriptionCreates aBlobBatchAsyncClientbased on options set in the builder.Creates aBlobBatchClientbased on options set in the builder.
-
Constructor Details
-
BlobBatchClientBuilder
Constructs theBlobBatchClientBuilderusing theaccount URLandHttpPipelineproperties of the passedBlobServiceClient.- Parameters:
client-BlobServiceClientwhose properties are used to configure the builder.
-
BlobBatchClientBuilder
Constructs theBlobBatchClientBuilderusing theaccount URLandHttpPipelineproperties of the passedBlobServiceAsyncClient.- Parameters:
client-BlobServiceAsyncClientwhose properties are used to configure the builder.
-
BlobBatchClientBuilder
Constructs theBlobBatchClientBuilderusing thecontainer URLandHttpPipelineproperties of the passedBlobContainerClient.- Parameters:
client-BlobContainerClientwhose properties are used to configure the builder.
-
BlobBatchClientBuilder
Constructs theBlobBatchClientBuilderusing thecontainer URLandHttpPipelineproperties of the passedBlobContainerAsyncClient.- Parameters:
client-BlobContainerAsyncClientwhose properties are used to configure the builder.
-
-
Method Details
-
buildClient
Creates aBlobBatchClientbased on options set in the builder.Code sample
BlobBatchClient batchClient = new BlobBatchClientBuilder(blobServiceClient).buildClient();
- Returns:
- a
BlobBatchClientcreated from the configurations in this builder.
-
buildAsyncClient
Creates aBlobBatchAsyncClientbased on options set in the builder.Code sample
BlobBatchAsyncClient batchClient = new BlobBatchClientBuilder(blobServiceAsyncClient).buildAsyncClient();
- Returns:
- a
BlobBatchAsyncClientcreated from the configurations in this builder.
-