Class AzureBlobContainerProvider
- java.lang.Object
-
- org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage.AzureBlobContainerProvider
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class AzureBlobContainerProvider extends Object implements Closeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAzureBlobContainerProvider.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()@NotNull StringgenerateSharedAccessSignature(com.microsoft.azure.storage.blob.BlobRequestOptions requestOptions, String key, EnumSet<com.microsoft.azure.storage.blob.SharedAccessBlobPermissions> permissions, int expirySeconds, com.microsoft.azure.storage.blob.SharedAccessBlobHeaders optionalHeaders)@NotNull com.microsoft.azure.storage.blob.CloudBlobContainergetBlobContainer()@NotNull com.microsoft.azure.storage.blob.CloudBlobContainergetBlobContainer(@Nullable com.microsoft.azure.storage.blob.BlobRequestOptions blobRequestOptions)StringgetContainerName()
-
-
-
Method Detail
-
getContainerName
public String getContainerName()
-
getBlobContainer
@NotNull public @NotNull com.microsoft.azure.storage.blob.CloudBlobContainer getBlobContainer() throws DataStoreException- Throws:
DataStoreException
-
getBlobContainer
@NotNull public @NotNull com.microsoft.azure.storage.blob.CloudBlobContainer getBlobContainer(@Nullable @Nullable com.microsoft.azure.storage.blob.BlobRequestOptions blobRequestOptions) throws DataStoreException- Throws:
DataStoreException
-
generateSharedAccessSignature
@NotNull public @NotNull String generateSharedAccessSignature(com.microsoft.azure.storage.blob.BlobRequestOptions requestOptions, String key, EnumSet<com.microsoft.azure.storage.blob.SharedAccessBlobPermissions> permissions, int expirySeconds, com.microsoft.azure.storage.blob.SharedAccessBlobHeaders optionalHeaders) throws DataStoreException, URISyntaxException, com.microsoft.azure.storage.StorageException, InvalidKeyException
- Throws:
DataStoreExceptionURISyntaxExceptioncom.microsoft.azure.storage.StorageExceptionInvalidKeyException
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-