Package com.azure.storage.blob.options
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 Summary
Constructors Constructor Description UndeleteBlobContainerOptions(String deletedContainerName, String deletedContainerVersion)
Constructs aUndeleteBlobContainerOptions
.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDeletedContainerName()
Gets the deleted blob container name.String
getDeletedContainerVersion()
Gets the deleted blob container version.String
getDestinationContainerName()
Deprecated.Destination container name must match deleted container nameUndeleteBlobContainerOptions
setDestinationContainerName(String destinationContainerName)
Deprecated.Destination container name must match deleted container name
-
-
-
Constructor Detail
-
UndeleteBlobContainerOptions
public UndeleteBlobContainerOptions(String deletedContainerName, String deletedContainerVersion)
Constructs aUndeleteBlobContainerOptions
.- Parameters:
deletedContainerName
- The name of the previously deleted container.deletedContainerVersion
- The version of the previously deleted container.
-
-
Method Detail
-
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 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.
-
-