Class QueueDraft

  • All Implemented Interfaces:
    com.microsoft.azure.toolkit.lib.common.model.AzResource, com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<Queue,​com.azure.storage.queue.QueueClient>, com.microsoft.azure.toolkit.lib.common.model.AzResourceBase, com.microsoft.azure.toolkit.lib.common.model.Deletable, com.microsoft.azure.toolkit.lib.common.model.Refreshable

    public class QueueDraft
    extends Queue
    implements com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<Queue,​com.azure.storage.queue.QueueClient>
    • 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Queue origin  
      • Fields inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        CACHE_LIFETIME, NONE, RESOURCE_GROUP_PLACEHOLDER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.azure.storage.queue.QueueClient createResourceInAzure()  
      boolean isModified()  
      void reset()  
      com.azure.storage.queue.QueueClient updateResourceInAzure​(com.azure.storage.queue.QueueClient origin)  
      • 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 interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        getFullResourceType, getPortalUrl, getResourceTypeName, getSubscription, getSubscriptionId, id, name
      • 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.common.model.Deletable

        delete
    • Method Detail

      • reset

        public void reset()
        Specified by:
        reset in interface com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<Queue,​com.azure.storage.queue.QueueClient>
      • createResourceInAzure

        @Nonnull
        public com.azure.storage.queue.QueueClient createResourceInAzure()
        Specified by:
        createResourceInAzure in interface com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<Queue,​com.azure.storage.queue.QueueClient>
      • updateResourceInAzure

        @Nonnull
        public com.azure.storage.queue.QueueClient updateResourceInAzure​(@Nonnull
                                                                         com.azure.storage.queue.QueueClient origin)
        Specified by:
        updateResourceInAzure in interface com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<Queue,​com.azure.storage.queue.QueueClient>
      • isModified

        public boolean isModified()
        Specified by:
        isModified in interface com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<Queue,​com.azure.storage.queue.QueueClient>