com.pulumi.awsnative.lex.kotlin.enums.BotMessageSelectionStrategy.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.lex.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Indicates how a message is selected from a message group among retries.
*/
public enum class BotMessageSelectionStrategy(
public val javaValue: com.pulumi.awsnative.lex.enums.BotMessageSelectionStrategy,
) : ConvertibleToJava {
Random(com.pulumi.awsnative.lex.enums.BotMessageSelectionStrategy.Random),
Ordered(com.pulumi.awsnative.lex.enums.BotMessageSelectionStrategy.Ordered),
;
override fun toJava(): com.pulumi.awsnative.lex.enums.BotMessageSelectionStrategy = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lex.enums.BotMessageSelectionStrategy): BotMessageSelectionStrategy =
BotMessageSelectionStrategy.values().first { it.javaValue == javaType }
}
}