
com.pulumi.awsnative.bedrock.kotlin.inputs.FlowKnowledgeBaseFlowNodeConfigurationArgs.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.FlowKnowledgeBaseFlowNodeConfigurationArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Knowledge base flow node configuration
* @property knowledgeBaseId Identifier of the KnowledgeBase
* @property modelId ARN or name of a Bedrock model.
*/
public data class FlowKnowledgeBaseFlowNodeConfigurationArgs(
public val knowledgeBaseId: Output,
public val modelId: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.bedrock.inputs.FlowKnowledgeBaseFlowNodeConfigurationArgs =
com.pulumi.awsnative.bedrock.inputs.FlowKnowledgeBaseFlowNodeConfigurationArgs.builder()
.knowledgeBaseId(knowledgeBaseId.applyValue({ args0 -> args0 }))
.modelId(modelId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FlowKnowledgeBaseFlowNodeConfigurationArgs].
*/
@PulumiTagMarker
public class FlowKnowledgeBaseFlowNodeConfigurationArgsBuilder internal constructor() {
private var knowledgeBaseId: Output? = null
private var modelId: Output? = null
/**
* @param value Identifier of the KnowledgeBase
*/
@JvmName("totgkampyrisauxn")
public suspend fun knowledgeBaseId(`value`: Output) {
this.knowledgeBaseId = value
}
/**
* @param value ARN or name of a Bedrock model.
*/
@JvmName("psfcsjpaqwcdhnqx")
public suspend fun modelId(`value`: Output) {
this.modelId = value
}
/**
* @param value Identifier of the KnowledgeBase
*/
@JvmName("jxulwbjnmvgykwat")
public suspend fun knowledgeBaseId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.knowledgeBaseId = mapped
}
/**
* @param value ARN or name of a Bedrock model.
*/
@JvmName("tjxgykivcisejwex")
public suspend fun modelId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.modelId = mapped
}
internal fun build(): FlowKnowledgeBaseFlowNodeConfigurationArgs =
FlowKnowledgeBaseFlowNodeConfigurationArgs(
knowledgeBaseId = knowledgeBaseId ?: throw PulumiNullFieldException("knowledgeBaseId"),
modelId = modelId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy