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

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

package com.pulumi.awsnative.lex.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property arn The Amazon Resource Name (ARN) of the bot.
 * @property dataPrivacy Data privacy setting of the Bot.
 * @property description The description of the version.
 * @property id The unique identifier of the bot.
 * @property idleSessionTtlInSeconds IdleSessionTTLInSeconds of the resource
 * @property name The name of the bot locale.
 * @property roleArn The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
 * @property testBotAliasSettings Specifies configuration settings for the alias used to test the bot. If the `TestBotAliasSettings` property is not specified, the settings are configured with default values.
 */
public data class GetBotResult(
    public val arn: String? = null,
    public val dataPrivacy: DataPrivacyProperties? = null,
    public val description: String? = null,
    public val id: String? = null,
    public val idleSessionTtlInSeconds: Int? = null,
    public val name: String? = null,
    public val roleArn: String? = null,
    public val testBotAliasSettings: BotTestBotAliasSettings? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.GetBotResult): GetBotResult =
            GetBotResult(
                arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
                dataPrivacy = javaType.dataPrivacy().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.lex.kotlin.outputs.DataPrivacyProperties.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                description = javaType.description().map({ args0 -> args0 }).orElse(null),
                id = javaType.id().map({ args0 -> args0 }).orElse(null),
                idleSessionTtlInSeconds = javaType.idleSessionTtlInSeconds().map({ args0 -> args0 }).orElse(null),
                name = javaType.name().map({ args0 -> args0 }).orElse(null),
                roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
                testBotAliasSettings = javaType.testBotAliasSettings().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.lex.kotlin.outputs.BotTestBotAliasSettings.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy