ManagedBackupShortTermRetentionPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ManagedBackupShortTermRetentionPolicyInner
- com.
- com.
public final class ManagedBackupShortTermRetentionPolicyInner
extends ProxyResource
A short term retention policy.
Constructor Summary
Constructor | Description |
---|---|
ManagedBackupShortTermRetentionPolicyInner() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
retentionDays()
Get the retention |
void |
validate()
Validates the instance. |
Managed |
withRetentionDays(Integer retentionDays)
Set the retention |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ManagedBackupShortTermRetentionPolicyInner
public ManagedBackupShortTermRetentionPolicyInner()
Creates an instance of ManagedBackupShortTermRetentionPolicyInner class.
Method Details
retentionDays
public Integer retentionDays()
Get the retentionDays property: The backup retention period in days. This is how many days Point-in-Time Restore will be supported.
Returns:
validate
public void validate()
Validates the instance.
withRetentionDays
public ManagedBackupShortTermRetentionPolicyInner withRetentionDays(Integer retentionDays)
Set the retentionDays property: The backup retention period in days. This is how many days Point-in-Time Restore will be supported.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for