
com.pulumi.awsnative.codestarnotifications.kotlin.enums.NotificationRuleStatus.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.codestarnotifications.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The status of the notification rule. The default value is `ENABLED` . If the status is set to `DISABLED` , notifications aren't sent for the notification rule.
*/
public enum class NotificationRuleStatus(
public val javaValue: com.pulumi.awsnative.codestarnotifications.enums.NotificationRuleStatus,
) : ConvertibleToJava {
Enabled(com.pulumi.awsnative.codestarnotifications.enums.NotificationRuleStatus.Enabled),
Disabled(com.pulumi.awsnative.codestarnotifications.enums.NotificationRuleStatus.Disabled),
;
override fun toJava(): com.pulumi.awsnative.codestarnotifications.enums.NotificationRuleStatus =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.codestarnotifications.enums.NotificationRuleStatus): NotificationRuleStatus = NotificationRuleStatus.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy