All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.sqladmin.v1.kotlin.enums.BackupRetentionSettingsRetentionUnit.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.sqladmin.v1.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * The unit that 'retained_backups' represents.
 */
public enum class BackupRetentionSettingsRetentionUnit(
    public val javaValue: com.pulumi.googlenative.sqladmin.v1.enums.BackupRetentionSettingsRetentionUnit,
) :
    ConvertibleToJava {
    /**
     * Backup retention unit is unspecified, will be treated as COUNT.
     */
    RetentionUnitUnspecified(com.pulumi.googlenative.sqladmin.v1.enums.BackupRetentionSettingsRetentionUnit.RetentionUnitUnspecified),

    /**
     * Retention will be by count, eg. "retain the most recent 7 backups".
     */
    Count(com.pulumi.googlenative.sqladmin.v1.enums.BackupRetentionSettingsRetentionUnit.Count),
    ;

    override fun toJava(): com.pulumi.googlenative.sqladmin.v1.enums.BackupRetentionSettingsRetentionUnit = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.sqladmin.v1.enums.BackupRetentionSettingsRetentionUnit): BackupRetentionSettingsRetentionUnit =
            BackupRetentionSettingsRetentionUnit.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy