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

com.pulumi.gcp.diagflow.kotlin.inputs.CxTestCaseTestCaseConversationTurnUserInputInputTextArgs.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.diagflow.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.diagflow.inputs.CxTestCaseTestCaseConversationTurnUserInputInputTextArgs.builder
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

/**
 *
 * @property text The natural language text to be processed. Text length must not exceed 256 characters.
 */
public data class CxTestCaseTestCaseConversationTurnUserInputInputTextArgs(
    public val text: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxTestCaseTestCaseConversationTurnUserInputInputTextArgs =
        com.pulumi.gcp.diagflow.inputs.CxTestCaseTestCaseConversationTurnUserInputInputTextArgs.builder()
            .text(text.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CxTestCaseTestCaseConversationTurnUserInputInputTextArgs].
 */
@PulumiTagMarker
public class CxTestCaseTestCaseConversationTurnUserInputInputTextArgsBuilder internal constructor() {
    private var text: Output? = null

    /**
     * @param value The natural language text to be processed. Text length must not exceed 256 characters.
     */
    @JvmName("totyhwbjhoocjxge")
    public suspend fun text(`value`: Output) {
        this.text = value
    }

    /**
     * @param value The natural language text to be processed. Text length must not exceed 256 characters.
     */
    @JvmName("peyxiaryfplhjubf")
    public suspend fun text(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.text = mapped
    }

    internal fun build(): CxTestCaseTestCaseConversationTurnUserInputInputTextArgs =
        CxTestCaseTestCaseConversationTurnUserInputInputTextArgs(
            text = text ?: throw PulumiNullFieldException("text"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy