com.pulumi.awsnative.datazone.kotlin.enums.DataSourceStatus.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.datazone.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The status of the data source.
*/
public enum class DataSourceStatus(
public val javaValue: com.pulumi.awsnative.datazone.enums.DataSourceStatus,
) : ConvertibleToJava {
Creating(com.pulumi.awsnative.datazone.enums.DataSourceStatus.Creating),
FailedCreation(com.pulumi.awsnative.datazone.enums.DataSourceStatus.FailedCreation),
Ready(com.pulumi.awsnative.datazone.enums.DataSourceStatus.Ready),
Updating(com.pulumi.awsnative.datazone.enums.DataSourceStatus.Updating),
FailedUpdate(com.pulumi.awsnative.datazone.enums.DataSourceStatus.FailedUpdate),
Running(com.pulumi.awsnative.datazone.enums.DataSourceStatus.Running),
Deleting(com.pulumi.awsnative.datazone.enums.DataSourceStatus.Deleting),
FailedDeletion(com.pulumi.awsnative.datazone.enums.DataSourceStatus.FailedDeletion),
;
override fun toJava(): com.pulumi.awsnative.datazone.enums.DataSourceStatus = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.datazone.enums.DataSourceStatus): DataSourceStatus = DataSourceStatus.values().first { it.javaValue == javaType }
}
}