public class DeleteRetentionPolicy extends Object
Constructor and Description |
---|
DeleteRetentionPolicy() |
Modifier and Type | Method and Description |
---|---|
Integer |
days()
Get indicates the number of days that the deleted blob should be retained.
|
Boolean |
enabled()
Get indicates whether DeleteRetentionPolicy is enabled for the Blob service.
|
DeleteRetentionPolicy |
withDays(Integer days)
Set indicates the number of days that the deleted blob should be retained.
|
DeleteRetentionPolicy |
withEnabled(Boolean enabled)
Set indicates whether DeleteRetentionPolicy is enabled for the Blob service.
|
public Boolean enabled()
public DeleteRetentionPolicy withEnabled(Boolean enabled)
enabled
- the enabled value to setpublic Integer days()
public DeleteRetentionPolicy withDays(Integer days)
days
- the days value to setCopyright © 2019. All rights reserved.