com.pulumi.awsnative.redshift.kotlin.enums.EventSubscriptionSeverity.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.redshift.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Specifies the Amazon Redshift event severity to be published by the event notification subscription.
*/
public enum class EventSubscriptionSeverity(
public val javaValue: com.pulumi.awsnative.redshift.enums.EventSubscriptionSeverity,
) : ConvertibleToJava {
Error(com.pulumi.awsnative.redshift.enums.EventSubscriptionSeverity.Error),
Info(com.pulumi.awsnative.redshift.enums.EventSubscriptionSeverity.Info),
;
override fun toJava(): com.pulumi.awsnative.redshift.enums.EventSubscriptionSeverity = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.redshift.enums.EventSubscriptionSeverity): EventSubscriptionSeverity =
EventSubscriptionSeverity.values().first { it.javaValue == javaType }
}
}