BlobContainerClient.getBlobClient Method
Definition
Overloads
| getBlobClient(String blobName) |
Initializes a new BlobClient object by concatenating blobName to the end of ContainerAsyncClient's URL. The new BlobClient uses the same request policy pipeline as the ContainerAsyncClient. |
| getBlobClient(String blobName, String snapshot) |
Initializes a new BlobClient object by concatenating blobName to the end of ContainerAsyncClient's URL. The new BlobClient uses the same request policy pipeline as the ContainerAsyncClient. Code Samples
|
getBlobClient(String blobName)
Initializes a new BlobClient object by concatenating blobName to the end of ContainerAsyncClient's URL. The new BlobClient uses the same request policy pipeline as the ContainerAsyncClient.
public BlobClient getBlobClient(String blobName)
Parameters
- blobName
- java.lang.String
A String representing the name of the blob. If the blob name contains special characters,
pass in the url encoded version of the blob name.
Code Samples
BlobClient blobClient = client.getBlobClient(blobName);
Returns
A new BlobClient object which references the blob with the specified name in this container.
getBlobClient(String blobName, String snapshot)
Initializes a new BlobClient object by concatenating blobName to the end of ContainerAsyncClient's URL. The new BlobClient uses the same request policy pipeline as the ContainerAsyncClient.
Code Samples
BlobClient blobClient = client.getBlobClient(blobName, snapshot);
public BlobClient getBlobClient(String blobName, String snapshot)
Parameters
- blobName
- java.lang.String
A String representing the name of the blob. If the blob name contains special characters,
pass in the url encoded version of the blob name.
- snapshot
- java.lang.String
the snapshot identifier for the blob.
Returns
A new BlobClient object which references the blob with the specified name in this container.