All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.events.kotlin.enums.RuleState.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.events.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * The state of the rule.
 */
public enum class RuleState(
    public val javaValue: com.pulumi.awsnative.events.enums.RuleState,
) : ConvertibleToJava {
    Disabled(com.pulumi.awsnative.events.enums.RuleState.Disabled),
    Enabled(com.pulumi.awsnative.events.enums.RuleState.Enabled),
    EnabledWithAllCloudtrailManagementEvents(com.pulumi.awsnative.events.enums.RuleState.EnabledWithAllCloudtrailManagementEvents),
    ;

    override fun toJava(): com.pulumi.awsnative.events.enums.RuleState = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.events.enums.RuleState): RuleState =
            RuleState.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy