com.pulumi.awsnative.applicationinsights.kotlin.enums.ApplicationAlarmSeverity.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.applicationinsights.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Indicates the degree of outage when the alarm goes off.
*/
public enum class ApplicationAlarmSeverity(
public val javaValue: com.pulumi.awsnative.applicationinsights.enums.ApplicationAlarmSeverity,
) : ConvertibleToJava {
High(com.pulumi.awsnative.applicationinsights.enums.ApplicationAlarmSeverity.High),
Medium(com.pulumi.awsnative.applicationinsights.enums.ApplicationAlarmSeverity.Medium),
Low(com.pulumi.awsnative.applicationinsights.enums.ApplicationAlarmSeverity.Low),
;
override fun toJava(): com.pulumi.awsnative.applicationinsights.enums.ApplicationAlarmSeverity =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.applicationinsights.enums.ApplicationAlarmSeverity): ApplicationAlarmSeverity =
ApplicationAlarmSeverity.values().first { it.javaValue == javaType }
}
}