PolicyRuleRetentionRuleArgs

data class PolicyRuleRetentionRuleArgs(val advancedRetentionType: Output<String>? = null, val retention: Output<Int>? = null) : ConvertibleToJava<PolicyRuleRetentionRuleArgs>

Constructors

Link copied to clipboard
constructor(advancedRetentionType: Output<String>? = null, retention: Output<Int>? = null)

Properties

Link copied to clipboard
val advancedRetentionType: Output<String>? = null

Valid values: annually, MONTHLY, and WEEKLY:- annually: the first backup of each year. - MONTHLY: The first backup of the month. - WEEKLY: The first backup of the week. - DAILY: The first backup of the day.

Link copied to clipboard
val retention: Output<Int>? = null

Retention time, in days.

Functions

Link copied to clipboard
open override fun toJava(): PolicyRuleRetentionRuleArgs