com.pulumi.aws.bedrock.kotlin.inputs.GuardrailContextualGroundingPolicyConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.bedrock.kotlin.inputs
import com.pulumi.aws.bedrock.inputs.GuardrailContextualGroundingPolicyConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property filtersConfigs List of contextual grounding filter configs. See Contextual Grounding Filters Config for more information.
*/
public data class GuardrailContextualGroundingPolicyConfigArgs(
public val filtersConfigs: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.bedrock.inputs.GuardrailContextualGroundingPolicyConfigArgs = com.pulumi.aws.bedrock.inputs.GuardrailContextualGroundingPolicyConfigArgs.builder()
.filtersConfigs(
filtersConfigs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [GuardrailContextualGroundingPolicyConfigArgs].
*/
@PulumiTagMarker
public class GuardrailContextualGroundingPolicyConfigArgsBuilder internal constructor() {
private var filtersConfigs:
Output>? = null
/**
* @param value List of contextual grounding filter configs. See Contextual Grounding Filters Config for more information.
*/
@JvmName("ynfkcygsiufnsjhp")
public suspend fun filtersConfigs(`value`: Output>) {
this.filtersConfigs = value
}
@JvmName("diusyitepisrumqi")
public suspend fun filtersConfigs(vararg values: Output) {
this.filtersConfigs = Output.all(values.asList())
}
/**
* @param values List of contextual grounding filter configs. See Contextual Grounding Filters Config for more information.
*/
@JvmName("onvajugovfupusky")
public suspend fun filtersConfigs(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy