Class PathDeletedItem
java.lang.Object
com.azure.storage.file.datalake.models.PathDeletedItem
A path that has been soft deleted.
-
Constructor Summary
ConstructorsConstructorDescriptionPathDeletedItem
(String path, boolean isPrefix, String deletionId, OffsetDateTime deletedOn, Integer remainingRetentionDays) Constructs aPathDeletedItem
. -
Method Summary
Modifier and TypeMethodDescriptionGets when the path was deleted.Gets the deletion id associated with the deleted path to uniquely identify it from other items deleted at this path.getPath()
Gets the name of the path.Gets the number of days left before the soft deleted path will be permanently deleted.boolean
isPrefix()
Gets whether the item is a prefix.
-
Constructor Details
-
PathDeletedItem
public PathDeletedItem(String path, boolean isPrefix, String deletionId, OffsetDateTime deletedOn, Integer remainingRetentionDays) Constructs aPathDeletedItem
.- Parameters:
path
- The name of the pathisPrefix
- Whether the item is a prefixdeletionId
- The deletion id associated with the deleted path to uniquely identify it from other items deleted at this pathdeletedOn
- When the path was deletedremainingRetentionDays
- The number of days left before the soft deleted path will be permanently deleted
-
-
Method Details
-
getPath
Gets the name of the path.- Returns:
- the name of the path
-
isPrefix
public boolean isPrefix()Gets whether the item is a prefix.- Returns:
- whether the item is a prefix
-
getDeletionId
Gets the deletion id associated with the deleted path to uniquely identify it from other items deleted at this path.- Returns:
- the deletion id
-
getDeletedOn
Gets when the path was deleted.- Returns:
- when the path was deleted
-
getRemainingRetentionDays
Gets the number of days left before the soft deleted path will be permanently deleted.- Returns:
- the number of days before permanent deletion
-