public class ShareFile extends AbstractEmulatableAzResource<ShareFile,IShareFile,com.azure.storage.file.share.models.ShareFileItem> implements Deletable, IShareFile
StorageFile.Draft<T extends StorageFile,R>AzResource.FormalStatus, AzResource.None, AzResource.Status| Modifier and Type | Field and Description |
|---|---|
private ShareFileModule |
subFileModule |
CREATE_DIRECTORY, CREATE_FILE, OPEN_FILE, UPLOAD_FILESCACHE_LIFETIME, CONNECT_RESOURCE, CREATE_RESOURCE, DEPLOY, NONE, RESOURCE_GROUP_PLACEHOLDER| Modifier | Constructor and Description |
|---|---|
|
ShareFile(ShareFile origin)
copy constructor
|
protected |
ShareFile(String name,
ShareFileModule module) |
| Modifier and Type | Method and Description |
|---|---|
void |
download(OutputStream output) |
void |
download(Path dest) |
List<AbstractAzResourceModule<?,?,?>> |
getCachedSubModules() |
Object |
getClient() |
java.time.OffsetDateTime |
getCreationTime() |
java.time.OffsetDateTime |
getLastModified() |
String |
getPath() |
String |
getResourceTypeName() |
Share |
getShare() |
long |
getSize() |
List<AbstractAzResourceModule<?,?,?>> |
getSubModules() |
String |
getUrl() |
boolean |
isDirectory() |
protected String |
loadStatus(com.azure.storage.file.share.models.ShareFileItem 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, waitgetSasUrlgetFile, getSubFileModuledelete, exists, getFormalStatus, getFullResourceType, getModule, getPortalUrl, getResourceGroupName, getStatus, getSubscription, getSubscriptionId, id, name, refreshgetId, getNameprivate final ShareFileModule subFileModule
protected ShareFile(@Nonnull String name, @Nonnull ShareFileModule module)
@Nonnull public List<AbstractAzResourceModule<?,?,?>> getSubModules()
getSubModules in class AbstractAzResource<ShareFile,IShareFile,com.azure.storage.file.share.models.ShareFileItem>@Nonnull public List<AbstractAzResourceModule<?,?,?>> getCachedSubModules()
getCachedSubModules in class AbstractAzResource<ShareFile,IShareFile,com.azure.storage.file.share.models.ShareFileItem>@Nonnull protected String loadStatus(@Nonnull com.azure.storage.file.share.models.ShareFileItem remote)
loadStatus in class AbstractAzResource<ShareFile,IShareFile,com.azure.storage.file.share.models.ShareFileItem>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 Object getClient()
getClient in interface StorageFilepublic Share getShare()
getShare in interface IShareFilepublic boolean isDirectory()
isDirectory in interface StorageFilepublic String getPath()
getPath in interface StorageFilepublic String getUrl()
getUrl in interface StorageFile@Nonnull public String getResourceTypeName()
getResourceTypeName in interface AzComponentgetResourceTypeName in interface AzResourceCopyright © 2024. All rights reserved.