public class BlobFile extends AbstractEmulatableAzResource<BlobFile,IBlobFile,com.azure.storage.blob.models.BlobItem> 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 |
|---|---|
|
BlobFile(BlobFile origin)
copy constructor
|
protected |
BlobFile(String name,
BlobFileModule module) |
| Modifier and Type | Method and Description |
|---|---|
void |
download(OutputStream output) |
void |
download(Path dest) |
List<AbstractAzResourceModule<?,?,?>> |
getCachedSubModules() |
com.azure.storage.blob.BlobContainerClient |
getClient() |
BlobContainer |
getContainer() |
java.time.OffsetDateTime |
getCreationTime() |
java.time.OffsetDateTime |
getLastModified() |
String |
getPath() |
String |
getResourceTypeName() |
long |
getSize() |
List<AbstractAzResourceModule<?,?,?>> |
getSubModules() |
String |
getUrl() |
boolean |
isDirectory() |
protected String |
loadStatus(com.azure.storage.blob.models.BlobItem remote) |
exists, isAuthRequired, isEmulatorResourcecanEqual, delete, doModify, doModify, equals, 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, waitgetFile, getSubFileModuledelete, exists, getFormalStatus, getFullResourceType, getModule, getPortalUrl, getResourceGroupName, getStatus, getSubscription, getSubscriptionId, id, name, refreshgetId, getNameprivate final BlobFileModule subFileModule
protected BlobFile(@Nonnull String name, @Nonnull BlobFileModule module)
@Nonnull public List<AbstractAzResourceModule<?,?,?>> getSubModules()
getSubModules in class AbstractAzResource<BlobFile,IBlobFile,com.azure.storage.blob.models.BlobItem>@Nonnull public List<AbstractAzResourceModule<?,?,?>> getCachedSubModules()
getCachedSubModules in class AbstractAzResource<BlobFile,IBlobFile,com.azure.storage.blob.models.BlobItem>@Nonnull protected String loadStatus(@Nonnull com.azure.storage.blob.models.BlobItem remote)
loadStatus in class AbstractAzResource<BlobFile,IBlobFile,com.azure.storage.blob.models.BlobItem>public long getSize()
getSize in interface StorageFile@Nullable public java.time.OffsetDateTime getLastModified()
getLastModified in interface StorageFile@Nullable public java.time.OffsetDateTime getCreationTime()
getCreationTime in interface StorageFilepublic void download(OutputStream output)
download in interface StorageFilepublic void download(Path dest)
download in interface StorageFile@Nullable public com.azure.storage.blob.BlobContainerClient getClient()
getClient in interface IBlobFilegetClient in interface StorageFilepublic String getPath()
getPath in interface StorageFilepublic String getUrl()
getUrl in interface StorageFilepublic BlobContainer getContainer()
getContainer in interface IBlobFilepublic boolean isDirectory()
isDirectory in interface StorageFile@Nonnull public String getResourceTypeName()
getResourceTypeName in interface AzComponentgetResourceTypeName in interface AzResourceCopyright © 2024. All rights reserved.