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

com.pulumi.awsnative.s3.kotlin.enums.BucketDefaultRetentionMode.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.s3.kotlin.enums

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

/**
 * The default Object Lock retention mode you want to apply to new objects placed in the specified bucket. If Object Lock is turned on, you must specify ``Mode`` and specify either ``Days`` or ``Years``.
 */
public enum class BucketDefaultRetentionMode(
    public val javaValue: com.pulumi.awsnative.s3.enums.BucketDefaultRetentionMode,
) : ConvertibleToJava {
    Compliance(com.pulumi.awsnative.s3.enums.BucketDefaultRetentionMode.Compliance),
    Governance(com.pulumi.awsnative.s3.enums.BucketDefaultRetentionMode.Governance),
    ;

    override fun toJava(): com.pulumi.awsnative.s3.enums.BucketDefaultRetentionMode = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.s3.enums.BucketDefaultRetentionMode): BucketDefaultRetentionMode =
            BucketDefaultRetentionMode.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy