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

com.pulumi.awsnative.s3.kotlin.enums.BucketRuleStatus.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

/**
 * If ``Enabled``, the rule is currently being applied. If ``Disabled``, the rule is not currently being applied.
 */
public enum class BucketRuleStatus(
    public val javaValue: com.pulumi.awsnative.s3.enums.BucketRuleStatus,
) : ConvertibleToJava {
    Enabled(com.pulumi.awsnative.s3.enums.BucketRuleStatus.Enabled),
    Disabled(com.pulumi.awsnative.s3.enums.BucketRuleStatus.Disabled),
    ;

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy