public class BackupShortTermRetentionPolicyInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
BackupShortTermRetentionPolicyInner() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
retentionDays()
Get the retentionDays property: The backup retention period in days.
|
void |
validate()
Validates the instance.
|
BackupShortTermRetentionPolicyInner |
withRetentionDays(Integer retentionDays)
Set the retentionDays property: The backup retention period in days.
|
public Integer retentionDays()
public BackupShortTermRetentionPolicyInner withRetentionDays(Integer retentionDays)
retentionDays - the retentionDays value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.