public final class DeleteRetentionPolicy extends Object
| Constructor and Description |
|---|
DeleteRetentionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
days()
Get the days property: Indicates the number of days that the deleted item should be retained.
|
Boolean |
enabled()
Get the enabled property: Indicates whether DeleteRetentionPolicy is enabled.
|
void |
validate()
Validates the instance.
|
DeleteRetentionPolicy |
withDays(Integer days)
Set the days property: Indicates the number of days that the deleted item should be retained.
|
DeleteRetentionPolicy |
withEnabled(Boolean enabled)
Set the enabled property: Indicates whether DeleteRetentionPolicy is enabled.
|
public Boolean enabled()
public DeleteRetentionPolicy withEnabled(Boolean enabled)
enabled - the enabled value to set.public Integer days()
public DeleteRetentionPolicy withDays(Integer days)
days - the days value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.