Class BlobChangefeedClientBuilder
- java.lang.Object
-
- com.azure.storage.blob.changefeed.BlobChangefeedClientBuilder
-
public final class BlobChangefeedClientBuilder extends Object
This class provides a fluent builder API to help aid the configuration and instantiation ofBlobChangefeedClientsandBlobChangefeedAsyncClientswhenbuildClientandbuildAsyncClientare called respectively.
-
-
Constructor Summary
Constructors Constructor Description BlobChangefeedClientBuilder(BlobServiceAsyncClient client)Constructs theBlobChangefeedClientBuilderfrom from the URL and pipeline of theBlobServiceAsyncClient.BlobChangefeedClientBuilder(BlobServiceClient client)Constructs theBlobChangefeedClientBuilderfrom the URL and pipeline of theBlobServiceClient.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobChangefeedAsyncClientbuildAsyncClient()Creates aBlobChangefeedAsyncClient.BlobChangefeedClientbuildClient()Creates aBlobChangefeedClient.
-
-
-
Constructor Detail
-
BlobChangefeedClientBuilder
public BlobChangefeedClientBuilder(BlobServiceClient client)
Constructs theBlobChangefeedClientBuilderfrom the URL and pipeline of theBlobServiceClient.- Parameters:
client-BlobServiceClientwhose properties are used to configure the builder.
-
BlobChangefeedClientBuilder
public BlobChangefeedClientBuilder(BlobServiceAsyncClient client)
Constructs theBlobChangefeedClientBuilderfrom from the URL and pipeline of theBlobServiceAsyncClient.- Parameters:
client-BlobServiceClientwhose properties are used to configure the builder.
-
-
Method Detail
-
buildClient
public BlobChangefeedClient buildClient()
Creates aBlobChangefeedClient.Code sample
BlobChangefeedClient changefeedClient = new BlobChangefeedClientBuilder(blobServiceClient).buildClient();
F- Returns:
- a
BlobChangefeedClientcreated from the configurations in this builder.
-
buildAsyncClient
public BlobChangefeedAsyncClient buildAsyncClient()
Creates aBlobChangefeedAsyncClient.Code sample
BlobChangefeedAsyncClient changefeedClient = new BlobChangefeedClientBuilder(blobServiceAsyncClient).buildAsyncClient();
- Returns:
- a
BlobChangefeedAsyncClientcreated from the configurations in this builder.
-
-