public class BlobContainer extends AbstractEmulatableAzResource<BlobContainer,IStorageAccount,com.azure.storage.blob.BlobContainerClient> implements Deletable, IBlobFile
StorageFile.Draft<T extends StorageFile,R>AzResource.FormalStatus, AzResource.None, AzResource.Status| Modifier and Type | Field and Description |
|---|---|
private BlobFileModule |
subFileModule |
CREATE_BLOBCREATE_DIRECTORY, CREATE_FILE, OPEN_FILE, UPLOAD_FILESCACHE_LIFETIME, CONNECT_RESOURCE, CREATE_RESOURCE, DEPLOY, NONE, RESOURCE_GROUP_PLACEHOLDER| Modifier | Constructor and Description |
|---|---|
|
BlobContainer(BlobContainer origin)
copy constructor
|
protected |
BlobContainer(String name,
BlobContainerModule module) |
| Modifier and Type | Method and Description |
|---|---|
void |
download(OutputStream output) |
void |
download(Path dest) |
boolean |
exists(String blobPath) |
com.azure.storage.blob.BlobContainerClient |
getClient() |
BlobContainer |
getContainer() |
java.time.OffsetDateTime |
getLastModified() |
String |
getPath() |
List<AbstractAzResourceModule<?,?,?>> |
getSubModules() |
String |
getUrl() |
boolean |
isDirectory() |
protected String |
loadStatus(com.azure.storage.blob.BlobContainerClient remote) |
exists, isAuthRequired, isEmulatorResourcecanEqual, delete, doModify, doModify, equals, getCachedSubModules, getId, getModule, getName, getParent, getRemote, getResourceGroup, getResourceGroupName, getStatus, getSubModule, hashCode, invalidateCache, is400, is404, isDraft, isDraftForCreating, isDraftForUpdating, isHttpException, isHttpException, isMocked, loadRemoteFromAzure, onRemoteUpdated, refresh, remoteOptional, setRemote, setStatus, toString, update, updateAdditionalPropertiesclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCreationTime, getFile, getSize, getSubFileModuledelete, exists, getFormalStatus, getFullResourceType, getModule, getPortalUrl, getResourceGroupName, getResourceTypeName, getStatus, getSubscription, getSubscriptionId, id, name, refreshgetId, getNameprivate final BlobFileModule subFileModule
protected BlobContainer(@Nonnull String name, @Nonnull BlobContainerModule module)
public BlobContainer(@Nonnull BlobContainer origin)
@Nonnull public List<AbstractAzResourceModule<?,?,?>> getSubModules()
getSubModules in class AbstractAzResource<BlobContainer,IStorageAccount,com.azure.storage.blob.BlobContainerClient>@Nonnull protected String loadStatus(@Nonnull com.azure.storage.blob.BlobContainerClient remote)
loadStatus in class AbstractAzResource<BlobContainer,IStorageAccount,com.azure.storage.blob.BlobContainerClient>@Nullable public com.azure.storage.blob.BlobContainerClient getClient()
getClient in interface IBlobFilegetClient in interface StorageFilepublic boolean exists(String blobPath)
@Nullable public java.time.OffsetDateTime getLastModified()
getLastModified in interface StorageFilepublic String getPath()
getPath in interface StorageFilepublic BlobContainer getContainer()
getContainer in interface IBlobFilepublic boolean isDirectory()
isDirectory in interface StorageFilepublic String getUrl()
getUrl in interface StorageFilepublic void download(OutputStream output)
download in interface StorageFilepublic void download(Path dest)
download in interface StorageFileCopyright © 2024. All rights reserved.