![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.bedrock.kotlin.inputs.FlowPromptInferenceConfigurationPropertiesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.bedrock.kotlin.inputs
import com.pulumi.awsnative.bedrock.inputs.FlowPromptInferenceConfigurationPropertiesArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Model inference configuration
* @property text
*/
public data class FlowPromptInferenceConfigurationPropertiesArgs(
public val text: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.bedrock.inputs.FlowPromptInferenceConfigurationPropertiesArgs =
com.pulumi.awsnative.bedrock.inputs.FlowPromptInferenceConfigurationPropertiesArgs.builder()
.text(text.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [FlowPromptInferenceConfigurationPropertiesArgs].
*/
@PulumiTagMarker
public class FlowPromptInferenceConfigurationPropertiesArgsBuilder internal constructor() {
private var text: Output? = null
/**
* @param value
*/
@JvmName("lkibnjtdpupohyit")
public suspend fun text(`value`: Output) {
this.text = value
}
/**
* @param value
*/
@JvmName("jmbbjemrrmbqklew")
public suspend fun text(`value`: FlowPromptModelInferenceConfigurationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.text = mapped
}
/**
* @param argument
*/
@JvmName("fqsyacshbpbdtrws")
public suspend fun text(argument: suspend FlowPromptModelInferenceConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = FlowPromptModelInferenceConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.text = mapped
}
internal fun build(): FlowPromptInferenceConfigurationPropertiesArgs =
FlowPromptInferenceConfigurationPropertiesArgs(
text = text ?: throw PulumiNullFieldException("text"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy