BackupLongTermRetentionPolicyInner Class

Definition

A long term retention policy.

public class BackupLongTermRetentionPolicyInner extends ProxyResource
Inheritance
java.lang.Object
BackupLongTermRetentionPolicyInner

Inherited Members

ProxyResource.id() ProxyResource.name() ProxyResource.type() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

BackupLongTermRetentionPolicyInner()

Methods

monthlyRetention()

Get the monthlyRetention property: The monthly retention policy for an LTR backup in an ISO 8601 format.

validate()

Validates the instance.

weekOfYear()

Get the weekOfYear property: The week of year to take the yearly backup in an ISO 8601 format.

weeklyRetention()

Get the weeklyRetention property: The weekly retention policy for an LTR backup in an ISO 8601 format.

withMonthlyRetention(String monthlyRetention)

Set the monthlyRetention property: The monthly retention policy for an LTR backup in an ISO 8601 format.

withWeekOfYear(Integer weekOfYear)

Set the weekOfYear property: The week of year to take the yearly backup in an ISO 8601 format.

withWeeklyRetention(String weeklyRetention)

Set the weeklyRetention property: The weekly retention policy for an LTR backup in an ISO 8601 format.

withYearlyRetention(String yearlyRetention)

Set the yearlyRetention property: The yearly retention policy for an LTR backup in an ISO 8601 format.

yearlyRetention()

Get the yearlyRetention property: The yearly retention policy for an LTR backup in an ISO 8601 format.

Applies to