DataLakePathScheduleDeletionOptions Class
- java.
lang. Object - com.
azure. storage. file. datalake. options. DataLakePathScheduleDeletionOptions
- com.
public class DataLakePathScheduleDeletionOptions
Extended access options that may be passed to set when scheduling deletion for a path. Note: can only set either ExpiresOn value or TimeToExpire value, cannot set both.
Constructor Summary
Constructor | Description |
---|---|
DataLakePathScheduleDeletionOptions(Duration timeToExpire) |
Optional parameters for scheduling the deletion of a path. |
DataLakePathScheduleDeletionOptions(OffsetDateTime expiresOn) |
Optional parameters for scheduling the deletion of a path. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getExpiresOn() |
Duration | getTimeToExpire() |
Methods inherited from java.lang.Object
Constructor Details
DataLakePathScheduleDeletionOptions
public DataLakePathScheduleDeletionOptions(Duration timeToExpire)
Optional parameters for scheduling the deletion of a path.
Parameters:
DataLakePathScheduleDeletionOptions
public DataLakePathScheduleDeletionOptions(OffsetDateTime expiresOn)
Optional parameters for scheduling the deletion of a path.
Parameters:
Method Details
getExpiresOn
public OffsetDateTime getExpiresOn()
Returns:
getTimeToExpire
public Duration getTimeToExpire()
Returns:
Applies to
Azure SDK for Java