
com.pulumi.awsnative.bedrock.kotlin.outputs.PromptTextPromptTemplateConfiguration.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Configuration for text prompt template
* @property inputVariables List of input variables
* @property text Prompt content for String prompt template
* @property textS3Location
*/
public data class PromptTextPromptTemplateConfiguration(
public val inputVariables: List? = null,
public val text: String? = null,
public val textS3Location: PromptTextS3Location? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.PromptTextPromptTemplateConfiguration): PromptTextPromptTemplateConfiguration = PromptTextPromptTemplateConfiguration(
inputVariables = javaType.inputVariables().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.outputs.PromptInputVariable.Companion.toKotlin(args0)
})
}),
text = javaType.text().map({ args0 -> args0 }).orElse(null),
textS3Location = javaType.textS3Location().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.outputs.PromptTextS3Location.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy