BackupPolicyPostgresqlRetentionRuleArgs

data class BackupPolicyPostgresqlRetentionRuleArgs(val criteria: Output<BackupPolicyPostgresqlRetentionRuleCriteriaArgs>, val duration: Output<String>, val name: Output<String>, val priority: Output<Int>) : ConvertibleToJava<BackupPolicyPostgresqlRetentionRuleArgs>

Constructors

Link copied to clipboard
constructor(criteria: Output<BackupPolicyPostgresqlRetentionRuleCriteriaArgs>, duration: Output<String>, name: Output<String>, priority: Output<Int>)

Properties

Link copied to clipboard

A criteria block as defined below. Changing this forces a new Backup Policy PostgreSQL to be created.

Link copied to clipboard
val duration: Output<String>

Duration after which the backup is deleted. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy PostgreSQL to be created.

Link copied to clipboard
val name: Output<String>

The name which should be used for this retention rule. Changing this forces a new Backup Policy PostgreSQL to be created.

Link copied to clipboard
val priority: Output<Int>

Specifies the priority of the rule. The priority number must be unique for each rule. The lower the priority number, the higher the priority of the rule. Changing this forces a new Backup Policy PostgreSQL to be created.

Functions

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