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

com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage.kt Maven / Gradle / Ivy

@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 V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage(
    public val customPayload: V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayload? = null,
    public val imageResponseCard: V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCard? =
        null,
    public val plainTextMessage: V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessage? =
        null,
    public val ssmlMessage: V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessage? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage): V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage =
            V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage(
                customPayload = javaType.customPayload().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayload.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                imageResponseCard = javaType.imageResponseCard().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCard.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                plainTextMessage = javaType.plainTextMessage().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessage.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                ssmlMessage = javaType.ssmlMessage().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessage.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy