public final class QueueRetentionPolicy extends Object
| Constructor and Description |
|---|
QueueRetentionPolicy() |
| 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.
|
QueueRetentionPolicy |
setDays(Integer days)
Set the days property: Indicates the number of days that metrics or logging or soft-deleted data should be
retained.
|
QueueRetentionPolicy |
setEnabled(boolean enabled)
Set the enabled property: Indicates whether a retention policy is enabled for the storage service.
|
public boolean isEnabled()
public QueueRetentionPolicy setEnabled(boolean enabled)
enabled - the enabled value to set.public Integer getDays()
public QueueRetentionPolicy setDays(Integer days)
days - the days value to set.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.