Package com.azure.storage.blob.options
Class UndeleteBlobContainerOptions
java.lang.Object
com.azure.storage.blob.options.UndeleteBlobContainerOptions
Extended options that may be passed when restoring a blob container.
-
Constructor Summary
ConstructorDescriptionUndeleteBlobContainerOptions
(String deletedContainerName, String deletedContainerVersion) Constructs aUndeleteBlobContainerOptions
. -
Method Summary
Modifier and TypeMethodDescriptionGets the deleted blob container name.Gets the deleted blob container version.Deprecated.Destination container name must match deleted container namesetDestinationContainerName
(String destinationContainerName) Deprecated.Destination container name must match deleted container name
-
Constructor Details
-
UndeleteBlobContainerOptions
Constructs aUndeleteBlobContainerOptions
.- Parameters:
deletedContainerName
- The name of the previously deleted container.deletedContainerVersion
- The version of the previously deleted container.
-
-
Method Details
-
getDeletedContainerName
Gets the deleted blob container name.- Returns:
- The name of the previously deleted container.
-
getDeletedContainerVersion
Gets the deleted blob container version.- Returns:
- The version of the previously deleted container.
-
getDestinationContainerName
Deprecated.Destination container name must match deleted container nameGets the destination blob container name. The restored container will be renamed to thedestinationContainerName
. If the container associated with provideddestinationContainerName
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 nameSets the destination blob container name. The restored container will be renamed to thedestinationContainerName
. If the container associated with provideddestinationContainerName
already exists, the undelete operation will result in a 409 (conflict).- Parameters:
destinationContainerName
- The destination blob container name.- Returns:
- The updated options.
-