Class BlobContainerDraft
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<BlobContainer,StorageAccount,com.azure.storage.blob.BlobContainerClient>
-
- com.microsoft.azure.toolkit.lib.storage.blob.BlobContainer
-
- com.microsoft.azure.toolkit.lib.storage.blob.BlobContainerDraft
-
- All Implemented Interfaces:
com.microsoft.azure.toolkit.lib.common.model.AzResource,com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<BlobContainer,com.azure.storage.blob.BlobContainerClient>,com.microsoft.azure.toolkit.lib.common.model.AzResourceBase,com.microsoft.azure.toolkit.lib.common.model.Deletable,com.microsoft.azure.toolkit.lib.common.model.Refreshable,IBlobFile,StorageFile
public class BlobContainerDraft extends BlobContainer implements com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<BlobContainer,com.azure.storage.blob.BlobContainerClient>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource
com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<T extends com.microsoft.azure.toolkit.lib.common.model.AzResource,R extends Object>, com.microsoft.azure.toolkit.lib.common.model.AzResource.None, com.microsoft.azure.toolkit.lib.common.model.AzResource.Status
-
Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResourceBase
com.microsoft.azure.toolkit.lib.common.model.AzResourceBase.FormalStatus
-
Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.storage.model.StorageFile
StorageFile.Draft<T extends StorageFile,R>
-
-
Field Summary
Fields Modifier and Type Field Description private BlobContainerorigin
-
Constructor Summary
Constructors Constructor Description BlobContainerDraft(BlobContainer origin)BlobContainerDraft(String name, BlobContainerModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.storage.blob.BlobContainerClientcreateResourceInAzure()booleanisModified()voidreset()com.azure.storage.blob.BlobContainerClientupdateResourceInAzure(com.azure.storage.blob.BlobContainerClient origin)-
Methods inherited from class com.microsoft.azure.toolkit.lib.storage.blob.BlobContainer
download, download, exists, getClient, getContainer, getLastModified, getPath, getSubModules, getUrl, isDirectory, loadStatus
-
Methods inherited from class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource
canEqual, delete, deleteFromCache, doModify, doModify, equals, exists, getId, getModule, getName, getParent, getRemote, getResourceGroup, getResourceGroupName, getStatus, getSubModule, hashCode, invalidateCache, isDraft, isDraftForCreating, isDraftForUpdating, loadRemote, refresh, refreshRemoteFromAzure, reloadStatus, remoteOptional, setRemote, setStatus, toString, update, updateAdditionalProperties
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource
delete, exists, getFullResourceType, getId, getModule, getName, getPortalUrl, getResourceGroupName, getResourceTypeName, getStatus, getSubscription, getSubscriptionId, id, name, refresh
-
Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft
asResource, commit, createIfNotExist, getModule, getName, getOrigin, getResourceGroupName, updateIfExist
-
Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResourceBase
getFormalStatus
-
Methods inherited from interface com.microsoft.azure.toolkit.lib.storage.model.StorageFile
getCreationTime, getFile, getSize, getSubFileModule
-
-
-
-
Field Detail
-
origin
@Nullable private final BlobContainer origin
-
-
Constructor Detail
-
BlobContainerDraft
BlobContainerDraft(@Nonnull String name, @Nonnull BlobContainerModule module)
-
BlobContainerDraft
BlobContainerDraft(@Nonnull BlobContainer origin)
-
-
Method Detail
-
reset
public void reset()
- Specified by:
resetin interfacecom.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<BlobContainer,com.azure.storage.blob.BlobContainerClient>
-
createResourceInAzure
@Nonnull public com.azure.storage.blob.BlobContainerClient createResourceInAzure()
- Specified by:
createResourceInAzurein interfacecom.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<BlobContainer,com.azure.storage.blob.BlobContainerClient>
-
updateResourceInAzure
@Nonnull public com.azure.storage.blob.BlobContainerClient updateResourceInAzure(@Nonnull com.azure.storage.blob.BlobContainerClient origin)
- Specified by:
updateResourceInAzurein interfacecom.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<BlobContainer,com.azure.storage.blob.BlobContainerClient>
-
isModified
public boolean isModified()
- Specified by:
isModifiedin interfacecom.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<BlobContainer,com.azure.storage.blob.BlobContainerClient>
-
-