PathDeletedItem Class
- java.
lang. Object - com.
azure. storage. file. datalake. models. PathDeletedItem
- com.
public class PathDeletedItem
A path that has been soft deleted.
Constructor Summary
Constructor | Description |
---|---|
PathDeletedItem(String path, boolean isPrefix, String deletionId, OffsetDateTime deletedOn, Integer remainingRetentionDays) |
Constructs a PathDeletedItem. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getDeletedOn()
Gets when the path was deleted. |
String |
getDeletionId()
Gets the deletion id associated with the deleted path to uniquely identify it from other items deleted at this path. |
String |
getPath()
Gets the name of the path. |
Integer |
getRemainingRetentionDays()
Gets the number of days left before the soft deleted path will be permanently deleted. |
boolean |
isPrefix()
Gets whether the item is a prefix. |
Methods inherited from java.lang.Object
Constructor Details
PathDeletedItem
public PathDeletedItem(String path, boolean isPrefix, String deletionId, OffsetDateTime deletedOn, Integer remainingRetentionDays)
Constructs a PathDeletedItem.
Parameters:
Method Details
getDeletedOn
public OffsetDateTime getDeletedOn()
Gets when the path was deleted.
Returns:
getDeletionId
public String getDeletionId()
Gets the deletion id associated with the deleted path to uniquely identify it from other items deleted at this path.
Returns:
getPath
public String getPath()
Gets the name of the path.
Returns:
getRemainingRetentionDays
public Integer getRemainingRetentionDays()
Gets the number of days left before the soft deleted path will be permanently deleted.
Returns:
isPrefix
public boolean isPrefix()
Gets whether the item is a prefix.
Returns:
Applies to
Azure SDK for Java