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

com.pulumi.awsnative.lex.kotlin.inputs.BotAliasLocaleSettingsItemArgs.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.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lex.kotlin.inputs

import com.pulumi.awsnative.lex.inputs.BotAliasLocaleSettingsItemArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * A locale setting in alias
 * @property botAliasLocaleSetting
 * @property localeId A string used to identify the locale
 */
public data class BotAliasLocaleSettingsItemArgs(
    public val botAliasLocaleSetting: Output,
    public val localeId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.lex.inputs.BotAliasLocaleSettingsItemArgs =
        com.pulumi.awsnative.lex.inputs.BotAliasLocaleSettingsItemArgs.builder()
            .botAliasLocaleSetting(
                botAliasLocaleSetting.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .localeId(localeId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BotAliasLocaleSettingsItemArgs].
 */
@PulumiTagMarker
public class BotAliasLocaleSettingsItemArgsBuilder internal constructor() {
    private var botAliasLocaleSetting: Output? = null

    private var localeId: Output? = null

    /**
     * @param value
     */
    @JvmName("nqcgkopqnfqwgbms")
    public suspend fun botAliasLocaleSetting(`value`: Output) {
        this.botAliasLocaleSetting = value
    }

    /**
     * @param value A string used to identify the locale
     */
    @JvmName("xwfbhdgwcghimnkf")
    public suspend fun localeId(`value`: Output) {
        this.localeId = value
    }

    /**
     * @param value
     */
    @JvmName("qtqhotbbrfidnhho")
    public suspend fun botAliasLocaleSetting(`value`: BotAliasLocaleSettingsArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.botAliasLocaleSetting = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ucbeulkfgytjlwyb")
    public suspend fun botAliasLocaleSetting(argument: suspend BotAliasLocaleSettingsArgsBuilder.() -> Unit) {
        val toBeMapped = BotAliasLocaleSettingsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.botAliasLocaleSetting = mapped
    }

    /**
     * @param value A string used to identify the locale
     */
    @JvmName("yxgeuojorgtebwgv")
    public suspend fun localeId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.localeId = mapped
    }

    internal fun build(): BotAliasLocaleSettingsItemArgs = BotAliasLocaleSettingsItemArgs(
        botAliasLocaleSetting = botAliasLocaleSetting ?: throw
            PulumiNullFieldException("botAliasLocaleSetting"),
        localeId = localeId ?: throw PulumiNullFieldException("localeId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy