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 ofBlobChangefeedClients
andBlobChangefeedAsyncClients
whenbuildClient
andbuildAsyncClient
are called respectively.
-
-
Constructor Summary
Constructors Constructor Description BlobChangefeedClientBuilder(BlobServiceAsyncClient client)
Constructs theBlobChangefeedClientBuilder
from from the URL and pipeline of theBlobServiceAsyncClient
.BlobChangefeedClientBuilder(BlobServiceClient client)
Constructs theBlobChangefeedClientBuilder
from the URL and pipeline of theBlobServiceClient
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobChangefeedAsyncClient
buildAsyncClient()
Creates aBlobChangefeedAsyncClient
.BlobChangefeedClient
buildClient()
Creates aBlobChangefeedClient
.
-
-
-
Constructor Detail
-
BlobChangefeedClientBuilder
public BlobChangefeedClientBuilder(BlobServiceClient client)
Constructs theBlobChangefeedClientBuilder
from the URL and pipeline of theBlobServiceClient
.- Parameters:
client
-BlobServiceClient
whose properties are used to configure the builder.
-
BlobChangefeedClientBuilder
public BlobChangefeedClientBuilder(BlobServiceAsyncClient client)
Constructs theBlobChangefeedClientBuilder
from from the URL and pipeline of theBlobServiceAsyncClient
.- Parameters:
client
-BlobServiceClient
whose 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
BlobChangefeedClient
created from the configurations in this builder.
-
buildAsyncClient
public BlobChangefeedAsyncClient buildAsyncClient()
Creates aBlobChangefeedAsyncClient
.Code sample
BlobChangefeedAsyncClient changefeedClient = new BlobChangefeedClientBuilder(blobServiceAsyncClient).buildAsyncClient();
- Returns:
- a
BlobChangefeedAsyncClient
created from the configurations in this builder.
-
-