UndeleteBlobContainerOptions Class

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

public class UndeleteBlobContainerOptions

Extended options that may be passed when restoring a blob container.

Constructor Summary

Constructor Description
UndeleteBlobContainerOptions(String deletedContainerName, String deletedContainerVersion)

Constructs a UndeleteBlobContainerOptions.

Method Summary

Modifier and Type Method and 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 name

Gets the destination blob container name.

UndeleteBlobContainerOptions setDestinationContainerName(String destinationContainerName)

Deprecated

Destination container name must match deleted container name

Sets the destination blob container name.

Methods inherited from java.lang.Object

Constructor Details

UndeleteBlobContainerOptions

public UndeleteBlobContainerOptions(String deletedContainerName, String deletedContainerVersion)

Constructs a UndeleteBlobContainerOptions.

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.

Applies to