com.pulumi.awsnative.s3.kotlin.enums.BucketMetricsStatus.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
/**
* Specifies whether the replication metrics are enabled.
*/
public enum class BucketMetricsStatus(
public val javaValue: com.pulumi.awsnative.s3.enums.BucketMetricsStatus,
) : ConvertibleToJava {
Disabled(com.pulumi.awsnative.s3.enums.BucketMetricsStatus.Disabled),
Enabled(com.pulumi.awsnative.s3.enums.BucketMetricsStatus.Enabled),
;
override fun toJava(): com.pulumi.awsnative.s3.enums.BucketMetricsStatus = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.s3.enums.BucketMetricsStatus): BucketMetricsStatus = BucketMetricsStatus.values().first { it.javaValue == javaType }
}
}