Class AzureStorageContainer


  • public final class AzureStorageContainer
    extends ProtectionContainer
    Azure Storage Account workload-specific container.
    • Constructor Detail

      • AzureStorageContainer

        public AzureStorageContainer()
    • Method Detail

      • sourceResourceId

        public String sourceResourceId()
        Get the sourceResourceId property: Fully qualified ARM url.
        Returns:
        the sourceResourceId value.
      • withSourceResourceId

        public AzureStorageContainer withSourceResourceId​(String sourceResourceId)
        Set the sourceResourceId property: Fully qualified ARM url.
        Parameters:
        sourceResourceId - the sourceResourceId value to set.
        Returns:
        the AzureStorageContainer object itself.
      • storageAccountVersion

        public String storageAccountVersion()
        Get the storageAccountVersion property: Storage account version.
        Returns:
        the storageAccountVersion value.
      • withStorageAccountVersion

        public AzureStorageContainer withStorageAccountVersion​(String storageAccountVersion)
        Set the storageAccountVersion property: Storage account version.
        Parameters:
        storageAccountVersion - the storageAccountVersion value to set.
        Returns:
        the AzureStorageContainer object itself.
      • resourceGroup

        public String resourceGroup()
        Get the resourceGroup property: Resource group name of Recovery Services Vault.
        Returns:
        the resourceGroup value.
      • withResourceGroup

        public AzureStorageContainer withResourceGroup​(String resourceGroup)
        Set the resourceGroup property: Resource group name of Recovery Services Vault.
        Parameters:
        resourceGroup - the resourceGroup value to set.
        Returns:
        the AzureStorageContainer object itself.
      • protectedItemCount

        public Long protectedItemCount()
        Get the protectedItemCount property: Number of items backed up in this container.
        Returns:
        the protectedItemCount value.
      • withProtectedItemCount

        public AzureStorageContainer withProtectedItemCount​(Long protectedItemCount)
        Set the protectedItemCount property: Number of items backed up in this container.
        Parameters:
        protectedItemCount - the protectedItemCount value to set.
        Returns:
        the AzureStorageContainer object itself.
      • acquireStorageAccountLock

        public AcquireStorageAccountLock acquireStorageAccountLock()
        Get the acquireStorageAccountLock property: Whether storage account lock is to be acquired for this container or not.
        Returns:
        the acquireStorageAccountLock value.
      • withAcquireStorageAccountLock

        public AzureStorageContainer withAcquireStorageAccountLock​(AcquireStorageAccountLock acquireStorageAccountLock)
        Set the acquireStorageAccountLock property: Whether storage account lock is to be acquired for this container or not.
        Parameters:
        acquireStorageAccountLock - the acquireStorageAccountLock value to set.
        Returns:
        the AzureStorageContainer object itself.
      • withFriendlyName

        public AzureStorageContainer withFriendlyName​(String friendlyName)
        Set the friendlyName property: Friendly name of the container.
        Overrides:
        withFriendlyName in class ProtectionContainer
        Parameters:
        friendlyName - the friendlyName value to set.
        Returns:
        the ProtectionContainer object itself.
      • withRegistrationStatus

        public AzureStorageContainer withRegistrationStatus​(String registrationStatus)
        Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.
        Overrides:
        withRegistrationStatus in class ProtectionContainer
        Parameters:
        registrationStatus - the registrationStatus value to set.
        Returns:
        the ProtectionContainer object itself.
      • withHealthStatus

        public AzureStorageContainer withHealthStatus​(String healthStatus)
        Set the healthStatus property: Status of health of the container.
        Overrides:
        withHealthStatus in class ProtectionContainer
        Parameters:
        healthStatus - the healthStatus value to set.
        Returns:
        the ProtectionContainer object itself.
      • withProtectableObjectType

        public AzureStorageContainer withProtectableObjectType​(String protectableObjectType)
        Set the protectableObjectType property: Type of the protectable object associated with this container.
        Overrides:
        withProtectableObjectType in class ProtectionContainer
        Parameters:
        protectableObjectType - the protectableObjectType value to set.
        Returns:
        the ProtectionContainer object itself.