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

com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.lex.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`.
 * @property imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.
 * @property plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`.
 * @property ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.
 */
public data class V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation(
    public val customPayload: V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayload? = null,
    public val imageResponseCard: V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCard? =
        null,
    public val plainTextMessage: V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessage? = null,
    public val ssmlMessage: V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessage? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation): V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation =
            V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation(
                customPayload = javaType.customPayload().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayload.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                imageResponseCard = javaType.imageResponseCard().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCard.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                plainTextMessage = javaType.plainTextMessage().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessage.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                ssmlMessage = javaType.ssmlMessage().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessage.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy