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

com.pulumi.awsnative.appflow.kotlin.enums.FlowStatus.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: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.appflow.kotlin.enums

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

/**
 * Flow activation status for Scheduled- and Event-triggered flows
 */
public enum class FlowStatus(
    public val javaValue: com.pulumi.awsnative.appflow.enums.FlowStatus,
) : ConvertibleToJava {
    Active(com.pulumi.awsnative.appflow.enums.FlowStatus.Active),
    Suspended(com.pulumi.awsnative.appflow.enums.FlowStatus.Suspended),
    Draft(com.pulumi.awsnative.appflow.enums.FlowStatus.Draft),
    ;

    override fun toJava(): com.pulumi.awsnative.appflow.enums.FlowStatus = javaValue

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy