public final class BlobRetentionPolicy extends Object
Constructor and Description |
---|
BlobRetentionPolicy() |
Modifier and Type | Method and Description |
---|---|
Integer |
getDays()
Get the days property: Indicates the number of days that metrics or
logging or soft-deleted data should be retained.
|
boolean |
isEnabled()
Get the enabled property: Indicates whether a retention policy is
enabled for the storage service.
|
BlobRetentionPolicy |
setDays(Integer days)
Set the days property: Indicates the number of days that metrics or
logging or soft-deleted data should be retained.
|
BlobRetentionPolicy |
setEnabled(boolean enabled)
Set the enabled property: Indicates whether a retention policy is
enabled for the storage service.
|
public boolean isEnabled()
public BlobRetentionPolicy setEnabled(boolean enabled)
enabled
- the enabled value to set.public Integer getDays()
public BlobRetentionPolicy setDays(Integer days)
days
- the days value to set.Copyright © 2019 Microsoft Corporation. All rights reserved.