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

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

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

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

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property allowInterrupt
 * @property maxRetries
 * @property messageGroups
 * @property messageSelectionStrategy
 * @property promptAttemptsSpecifications
 */
public data class V2modelsSlotValueElicitationSettingPromptSpecification(
    public val allowInterrupt: Boolean? = null,
    public val maxRetries: Int,
    public val messageGroups: List? = null,
    public val messageSelectionStrategy: String? = null,
    public val promptAttemptsSpecifications: List? =
        null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingPromptSpecification): V2modelsSlotValueElicitationSettingPromptSpecification =
            V2modelsSlotValueElicitationSettingPromptSpecification(
                allowInterrupt = javaType.allowInterrupt().map({ args0 -> args0 }).orElse(null),
                maxRetries = javaType.maxRetries(),
                messageGroups = javaType.messageGroups().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsSlotValueElicitationSettingPromptSpecificationMessageGroup.Companion.toKotlin(args0)
                    })
                }),
                messageSelectionStrategy = javaType.messageSelectionStrategy().map({ args0 -> args0 }).orElse(null),
                promptAttemptsSpecifications = javaType.promptAttemptsSpecifications().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecification.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy