![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.lex.kotlin.inputs.BotCustomPayloadArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lex.kotlin.inputs
import com.pulumi.awsnative.lex.inputs.BotCustomPayloadArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A message in a custom format defined by the client application.
* @property value The string that is sent to your application.
*/
public data class BotCustomPayloadArgs(
public val `value`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lex.inputs.BotCustomPayloadArgs =
com.pulumi.awsnative.lex.inputs.BotCustomPayloadArgs.builder()
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BotCustomPayloadArgs].
*/
@PulumiTagMarker
public class BotCustomPayloadArgsBuilder internal constructor() {
private var `value`: Output? = null
/**
* @param value The string that is sent to your application.
*/
@JvmName("bignfigvwakwwguy")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The string that is sent to your application.
*/
@JvmName("grqhdoqwdfqhsmeo")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): BotCustomPayloadArgs = BotCustomPayloadArgs(
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy