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

com.pulumi.awsnative.bedrock.kotlin.outputs.FlowVersionPromptFlowNodeInlineConfiguration.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.bedrock.kotlin.outputs

import com.pulumi.awsnative.bedrock.kotlin.enums.FlowVersionPromptTemplateType
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 FlowVersionPromptFlowNodeInlineConfiguration(
    public val inferenceConfiguration: FlowVersionPromptInferenceConfigurationProperties? = null,
    public val modelId: String,
    public val templateConfiguration: FlowVersionPromptTemplateConfigurationProperties,
    public val templateType: FlowVersionPromptTemplateType,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.FlowVersionPromptFlowNodeInlineConfiguration): FlowVersionPromptFlowNodeInlineConfiguration = FlowVersionPromptFlowNodeInlineConfiguration(
            inferenceConfiguration = javaType.inferenceConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.bedrock.kotlin.outputs.FlowVersionPromptInferenceConfigurationProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            modelId = javaType.modelId(),
            templateConfiguration = javaType.templateConfiguration().let({ args0 ->
                com.pulumi.awsnative.bedrock.kotlin.outputs.FlowVersionPromptTemplateConfigurationProperties.Companion.toKotlin(args0)
            }),
            templateType = javaType.templateType().let({ args0 ->
                com.pulumi.awsnative.bedrock.kotlin.enums.FlowVersionPromptTemplateType.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy