
com.pulumi.awsnative.bedrock.kotlin.outputs.FlowPromptFlowNodeInlineConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.bedrock.kotlin.outputs
import com.pulumi.awsnative.bedrock.kotlin.enums.FlowPromptTemplateType
import kotlin.String
import kotlin.Suppress
/**
* Inline prompt configuration for prompt node
* @property inferenceConfiguration
* @property modelId ARN or name of a Bedrock model.
* @property templateConfiguration
* @property templateType
*/
public data class FlowPromptFlowNodeInlineConfiguration(
public val inferenceConfiguration: FlowPromptInferenceConfigurationProperties? = null,
public val modelId: String,
public val templateConfiguration: FlowPromptTemplateConfigurationProperties,
public val templateType: FlowPromptTemplateType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.FlowPromptFlowNodeInlineConfiguration): FlowPromptFlowNodeInlineConfiguration = FlowPromptFlowNodeInlineConfiguration(
inferenceConfiguration = javaType.inferenceConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.outputs.FlowPromptInferenceConfigurationProperties.Companion.toKotlin(args0)
})
}).orElse(null),
modelId = javaType.modelId(),
templateConfiguration = javaType.templateConfiguration().let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.outputs.FlowPromptTemplateConfigurationProperties.Companion.toKotlin(args0)
}),
templateType = javaType.templateType().let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.enums.FlowPromptTemplateType.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy