com.pulumi.awsnative.databrew.kotlin.enums.RulesetThresholdUnit.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.databrew.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Threshold unit for a rule
*/
public enum class RulesetThresholdUnit(
public val javaValue: com.pulumi.awsnative.databrew.enums.RulesetThresholdUnit,
) : ConvertibleToJava {
Count(com.pulumi.awsnative.databrew.enums.RulesetThresholdUnit.Count),
Percentage(com.pulumi.awsnative.databrew.enums.RulesetThresholdUnit.Percentage),
;
override fun toJava(): com.pulumi.awsnative.databrew.enums.RulesetThresholdUnit = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.databrew.enums.RulesetThresholdUnit): RulesetThresholdUnit = RulesetThresholdUnit.values().first { it.javaValue == javaType }
}
}