ManagedBackupShortTermRetentionPolicyInner Class

public final class ManagedBackupShortTermRetentionPolicyInner
extends ProxyResource

A short term retention policy.

Constructor Summary

Constructor Description
ManagedBackupShortTermRetentionPolicyInner()

Creates an instance of ManagedBackupShortTermRetentionPolicyInner class.

Method Summary

Modifier and Type Method and Description
Integer retentionDays()

Get the retentionDays property: The backup retention period in days.

void validate()

Validates the instance.

ManagedBackupShortTermRetentionPolicyInner withRetentionDays(Integer retentionDays)

Set the retentionDays property: The backup retention period in days.

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:

the retentionDays value.

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:

retentionDays - the retentionDays value to set.

Returns:

the ManagedBackupShortTermRetentionPolicyInner object itself.

Applies to