com.pulumi.gcp.discoveryengine.kotlin.inputs.ChatEngineChatEngineConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.discoveryengine.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.discoveryengine.inputs.ChatEngineChatEngineConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property agentCreationConfig The configuration to generate the Dialogflow agent that is associated to this Engine.
* Structure is documented below.
*/
public data class ChatEngineChatEngineConfigArgs(
public val agentCreationConfig: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.discoveryengine.inputs.ChatEngineChatEngineConfigArgs =
com.pulumi.gcp.discoveryengine.inputs.ChatEngineChatEngineConfigArgs.builder()
.agentCreationConfig(
agentCreationConfig.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ChatEngineChatEngineConfigArgs].
*/
@PulumiTagMarker
public class ChatEngineChatEngineConfigArgsBuilder internal constructor() {
private var agentCreationConfig: Output? = null
/**
* @param value The configuration to generate the Dialogflow agent that is associated to this Engine.
* Structure is documented below.
*/
@JvmName("meixkygfkyvxpwkb")
public suspend fun agentCreationConfig(`value`: Output) {
this.agentCreationConfig = value
}
/**
* @param value The configuration to generate the Dialogflow agent that is associated to this Engine.
* Structure is documented below.
*/
@JvmName("kxdvmfnyobsdpywg")
public suspend fun agentCreationConfig(`value`: ChatEngineChatEngineConfigAgentCreationConfigArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.agentCreationConfig = mapped
}
/**
* @param argument The configuration to generate the Dialogflow agent that is associated to this Engine.
* Structure is documented below.
*/
@JvmName("rjldypouwwcvimxp")
public suspend fun agentCreationConfig(argument: suspend ChatEngineChatEngineConfigAgentCreationConfigArgsBuilder.() -> Unit) {
val toBeMapped = ChatEngineChatEngineConfigAgentCreationConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.agentCreationConfig = mapped
}
internal fun build(): ChatEngineChatEngineConfigArgs = ChatEngineChatEngineConfigArgs(
agentCreationConfig = agentCreationConfig ?: throw PulumiNullFieldException("agentCreationConfig"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy