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
ConstructorDescriptionConstructs theBlobBatchClientBuilder
using thecontainer URL
andHttpPipeline
properties of the passedBlobContainerAsyncClient
.Constructs theBlobBatchClientBuilder
using thecontainer URL
andHttpPipeline
properties of the passedBlobContainerClient
.Constructs theBlobBatchClientBuilder
using theaccount URL
andHttpPipeline
properties of the passedBlobServiceAsyncClient
.Constructs theBlobBatchClientBuilder
using theaccount URL
andHttpPipeline
properties of the passedBlobServiceClient
. -
Method Summary
Modifier and TypeMethodDescriptionCreates aBlobBatchAsyncClient
based on options set in the builder.Creates aBlobBatchClient
based on options set in the builder.
-
Constructor Details
-
BlobBatchClientBuilder
Constructs theBlobBatchClientBuilder
using theaccount URL
andHttpPipeline
properties of the passedBlobServiceClient
.- Parameters:
client
-BlobServiceClient
whose properties are used to configure the builder.
-
BlobBatchClientBuilder
Constructs theBlobBatchClientBuilder
using theaccount URL
andHttpPipeline
properties of the passedBlobServiceAsyncClient
.- Parameters:
client
-BlobServiceAsyncClient
whose properties are used to configure the builder.
-
BlobBatchClientBuilder
Constructs theBlobBatchClientBuilder
using thecontainer URL
andHttpPipeline
properties of the passedBlobContainerClient
.- Parameters:
client
-BlobContainerClient
whose properties are used to configure the builder.
-
BlobBatchClientBuilder
Constructs theBlobBatchClientBuilder
using thecontainer URL
andHttpPipeline
properties of the passedBlobContainerAsyncClient
.- Parameters:
client
-BlobContainerAsyncClient
whose properties are used to configure the builder.
-
-
Method Details
-
buildClient
Creates aBlobBatchClient
based on options set in the builder.Code sample
BlobBatchClient batchClient = new BlobBatchClientBuilder(blobServiceClient).buildClient();
- Returns:
- a
BlobBatchClient
created from the configurations in this builder.
-
buildAsyncClient
Creates aBlobBatchAsyncClient
based on options set in the builder.Code sample
BlobBatchAsyncClient batchClient = new BlobBatchClientBuilder(blobServiceAsyncClient).buildAsyncClient();
- Returns:
- a
BlobBatchAsyncClient
created from the configurations in this builder.
-