public class DeleteRetentionPolicy extends Object
Constructor and Description |
---|
DeleteRetentionPolicy() |
Modifier and Type | Method and Description |
---|---|
boolean |
getEnabled()
Return a boolean indicating whether the DeleteRetentionPolicy is enabled.
|
Integer |
getRetentionIntervalInDays()
Get the retention interval(in days) of the DeleteRetentionPolicy.
|
void |
setEnabled(boolean enabled)
Set a boolean indicating whether the DeleteRetentionPolicy is enabled.
|
void |
setRetentionIntervalInDays(Integer retentionIntervalInDays)
Set the retention interval in days for the delete retention policy.
|
public boolean getEnabled()
boolean
indicating whether a deleted blob or snapshot is retained or immediately removed by a delete operation.public Integer getRetentionIntervalInDays()
Integer
which contains the retention interval.public void setEnabled(boolean enabled)
enabled
- indicates whether the DeleteRetentionPolicy is enabled.public void setRetentionIntervalInDays(Integer retentionIntervalInDays)
retentionIntervalInDays
- represents the number of days that a deleted blob is retained.Copyright © 2018. All Rights Reserved.