你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FileSystemUndeleteOptions Class

  • java.lang.Object
    • com.azure.storage.file.datalake.options.FileSystemUndeleteOptions

public final class FileSystemUndeleteOptions

Extended options that may be passed when restoring a file system.

Constructor Summary

Constructor Description
FileSystemUndeleteOptions(String deletedFileSystemName, String deletedFileSystemVersion)

Constructs a FileSystemUndeleteOptions.

Method Summary

Modifier and Type Method and Description
String getDeletedFileSystemName()

Gets the deleted file system name.

String getDeletedFileSystemVersion()

Gets the deleted file system version.

String getDestinationFileSystemName()

Deprecated

Destination file system name must match deleted file system name

Gets the destination file system name.

FileSystemUndeleteOptions setDestinationFileSystemName(String destinationFileSystemName)

Deprecated

Destination file system name must match deleted file system name

Sets the destination file system name.

Methods inherited from java.lang.Object

Constructor Details

FileSystemUndeleteOptions

public FileSystemUndeleteOptions(String deletedFileSystemName, String deletedFileSystemVersion)

Constructs a FileSystemUndeleteOptions.

Parameters:

deletedFileSystemName - The name of the previously deleted file system.
deletedFileSystemVersion - The version of the previously deleted file system.

Method Details

getDeletedFileSystemName

public String getDeletedFileSystemName()

Gets the deleted file system name.

Returns:

The name of the previously deleted file system.

getDeletedFileSystemVersion

public String getDeletedFileSystemVersion()

Gets the deleted file system version.

Returns:

The version of the previously deleted file system.

getDestinationFileSystemName

@Deprecated
public String getDestinationFileSystemName()

Deprecated

Destination file system name must match deleted file system name

Gets the destination file system name. The restored file system will be renamed to the destinationFileSystemName. If the file system associated with provided destinationFileSystemName already exists, the undelete operation will result in a 409 (conflict).

Returns:

The destination file system name.

setDestinationFileSystemName

@Deprecated
public FileSystemUndeleteOptions setDestinationFileSystemName(String destinationFileSystemName)

Deprecated

Destination file system name must match deleted file system name

Sets the destination file system name. The restored file system will be renamed to the destinationFileSystemName. If the file system associated with provided destinationFileSystemName already exists, the undelete operation will result in a 409 (conflict).

Parameters:

destinationFileSystemName - The destination file system name.

Returns:

The updated options.

Applies to