public final class BlobBatchClientBuilder extends Object
BlobBatchClients
and BlobBatchAsyncClients
when buildClient
and
buildAsyncClient
as called respectively.Constructor and Description |
---|
BlobBatchClientBuilder(BlobServiceAsyncClient client)
Constructs the
BlobBatchClientBuilder using the account
URL and HttpPipeline properties of the passed BlobServiceAsyncClient . |
BlobBatchClientBuilder(BlobServiceClient client)
Constructs the
BlobBatchClientBuilder using the account URL and
HttpPipeline properties of the passed BlobServiceClient . |
Modifier and Type | Method and Description |
---|---|
BlobBatchAsyncClient |
buildAsyncClient()
Creates a
BlobBatchAsyncClient based on options set in the builder. |
BlobBatchClient |
buildClient()
Creates a
BlobBatchClient based on options set in the builder. |
public BlobBatchClientBuilder(BlobServiceClient client)
BlobBatchClientBuilder
using the account URL
and
HttpPipeline
properties of the passed BlobServiceClient
.client
- BlobServiceClient
whose properties are used to configure the builder.public BlobBatchClientBuilder(BlobServiceAsyncClient client)
BlobBatchClientBuilder
using the account
URL
and HttpPipeline
properties of the passed BlobServiceAsyncClient
.client
- BlobServiceClient
whose properties are used to configure the builder.public BlobBatchClient buildClient()
BlobBatchClient
based on options set in the builder.
Code sample
BlobBatchClient batchClient = new BlobBatchClientBuilder(blobServiceClient).buildClient();
BlobBatchClient
created from the configurations in this builder.public BlobBatchAsyncClient buildAsyncClient()
BlobBatchAsyncClient
based on options set in the builder.
Code sample
BlobBatchAsyncClient batchClient = new BlobBatchClientBuilder(blobServiceAsyncClient).buildAsyncClient();
BlobBatchAsyncClient
created from the configurations in this builder.Copyright © 2020 Microsoft Corporation. All rights reserved.