public final class TableServiceRetentionPolicy extends Object
| Constructor and Description |
|---|
TableServiceRetentionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getDaysToRetain()
Get the number of days that metrics or logging or soft-deleted data should be retained.
|
boolean |
isEnabled()
Get a value that indicates whether a retention policy is enabled for the Table service.
|
TableServiceRetentionPolicy |
setDaysToRetain(Integer daysToRetain)
Set the number of daysToRetain that metrics or logging or soft-deleted data should be retained.
|
TableServiceRetentionPolicy |
setEnabled(boolean enabled)
Set a value that indicates whether a retention policy is enabled for the Table service.
|
public boolean isEnabled()
enabled value.public TableServiceRetentionPolicy setEnabled(boolean enabled)
enabled - The enabled value to set.TableServiceRetentionPolicy object.public Integer getDaysToRetain()
daysToRetain.public TableServiceRetentionPolicy setDaysToRetain(Integer daysToRetain)
daysToRetain - The daysToRetain to set.TableServiceRetentionPolicy object.Copyright © 2021 Microsoft Corporation. All rights reserved.