Class UndeleteBlobContainerOptions

java.lang.Object
com.azure.storage.blob.options.UndeleteBlobContainerOptions

public class UndeleteBlobContainerOptions extends Object
Extended options that may be passed when restoring a blob container.
  • Constructor Details

    • UndeleteBlobContainerOptions

      public UndeleteBlobContainerOptions(String deletedContainerName, String deletedContainerVersion)
      Parameters:
      deletedContainerName - The name of the previously deleted container.
      deletedContainerVersion - The version of the previously deleted container.
  • Method Details

    • getDeletedContainerName

      public String getDeletedContainerName()
      Gets the deleted blob container name.
      Returns:
      The name of the previously deleted container.
    • getDeletedContainerVersion

      public String getDeletedContainerVersion()
      Gets the deleted blob container version.
      Returns:
      The version of the previously deleted container.
    • getDestinationContainerName

      @Deprecated public String getDestinationContainerName()
      Deprecated.
      Destination container name must match deleted container name
      Gets the destination blob container name. The restored container will be renamed to the destinationContainerName. If the container associated with provided destinationContainerName already exists, the undelete operation will result in a 409 (conflict).
      Returns:
      The destination blob container name.
    • setDestinationContainerName

      @Deprecated public UndeleteBlobContainerOptions setDestinationContainerName(String destinationContainerName)
      Deprecated.
      Destination container name must match deleted container name
      Sets the destination blob container name. The restored container will be renamed to the destinationContainerName. If the container associated with provided destinationContainerName already exists, the undelete operation will result in a 409 (conflict).
      Parameters:
      destinationContainerName - The destination blob container name.
      Returns:
      The updated options.