com.pulumi.awsnative.bedrock.kotlin.enums.AgentStatus.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.bedrock.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Schema Type for Action APIs.
*/
public enum class AgentStatus(
public val javaValue: com.pulumi.awsnative.bedrock.enums.AgentStatus,
) : ConvertibleToJava {
Creating(com.pulumi.awsnative.bedrock.enums.AgentStatus.Creating),
Preparing(com.pulumi.awsnative.bedrock.enums.AgentStatus.Preparing),
Prepared(com.pulumi.awsnative.bedrock.enums.AgentStatus.Prepared),
NotPrepared(com.pulumi.awsnative.bedrock.enums.AgentStatus.NotPrepared),
Deleting(com.pulumi.awsnative.bedrock.enums.AgentStatus.Deleting),
Failed(com.pulumi.awsnative.bedrock.enums.AgentStatus.Failed),
Versioning(com.pulumi.awsnative.bedrock.enums.AgentStatus.Versioning),
Updating(com.pulumi.awsnative.bedrock.enums.AgentStatus.Updating),
;
override fun toJava(): com.pulumi.awsnative.bedrock.enums.AgentStatus = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.enums.AgentStatus): AgentStatus =
AgentStatus.values().first { it.javaValue == javaType }
}
}