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

com.pulumi.aws.lex.kotlin.outputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponse.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.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property allowInterrupt Whether the user can interrupt a speech response from Amazon Lex.
 * @property frequencyInSeconds How often a message should be sent to the user.
 * @property messageGroups
 * @property timeoutInSeconds If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
 */
public data class
V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponse(
    public val allowInterrupt: Boolean? = null,
    public val frequencyInSeconds: Int,
    public val messageGroups: List? =
        null,
    public val timeoutInSeconds: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.lex.outputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponse): V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponse =
            V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponse(
                allowInterrupt = javaType.allowInterrupt().map({ args0 -> args0 }).orElse(null),
                frequencyInSeconds = javaType.frequencyInSeconds(),
                messageGroups = javaType.messageGroups().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.lex.kotlin.outputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroup.Companion.toKotlin(args0)
                    })
                }),
                timeoutInSeconds = javaType.timeoutInSeconds(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy