com.pulumi.awsnative.s3.kotlin.enums.BucketVersioningConfigurationStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.s3.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The versioning state of the bucket.
*/
public enum class BucketVersioningConfigurationStatus(
public val javaValue: com.pulumi.awsnative.s3.enums.BucketVersioningConfigurationStatus,
) : ConvertibleToJava {
Enabled(com.pulumi.awsnative.s3.enums.BucketVersioningConfigurationStatus.Enabled),
Suspended(com.pulumi.awsnative.s3.enums.BucketVersioningConfigurationStatus.Suspended),
;
override fun toJava(): com.pulumi.awsnative.s3.enums.BucketVersioningConfigurationStatus =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.s3.enums.BucketVersioningConfigurationStatus): BucketVersioningConfigurationStatus =
BucketVersioningConfigurationStatus.values().first { it.javaValue == javaType }
}
}