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

com.pulumi.awsnative.lex.kotlin.enums.BotSlotShape.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lex.kotlin.enums

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

/**
 * The different shapes that a slot can be in during a conversation.
 */
public enum class BotSlotShape(
    public val javaValue: com.pulumi.awsnative.lex.enums.BotSlotShape,
) : ConvertibleToJava {
    Scalar(com.pulumi.awsnative.lex.enums.BotSlotShape.Scalar),
    List(com.pulumi.awsnative.lex.enums.BotSlotShape.List),
    ;

    override fun toJava(): com.pulumi.awsnative.lex.enums.BotSlotShape = javaValue

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy