
com.pulumi.awsnative.bedrock.kotlin.inputs.GuardrailContentPolicyConfigArgs.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.GuardrailContentPolicyConfigArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Content policy config for a guardrail.
* @property filtersConfig List of content filter configs in content policy.
*/
public data class GuardrailContentPolicyConfigArgs(
public val filtersConfig: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.bedrock.inputs.GuardrailContentPolicyConfigArgs =
com.pulumi.awsnative.bedrock.inputs.GuardrailContentPolicyConfigArgs.builder()
.filtersConfig(
filtersConfig.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [GuardrailContentPolicyConfigArgs].
*/
@PulumiTagMarker
public class GuardrailContentPolicyConfigArgsBuilder internal constructor() {
private var filtersConfig: Output>? = null
/**
* @param value List of content filter configs in content policy.
*/
@JvmName("htxdwhveqjpxvufx")
public suspend fun filtersConfig(`value`: Output>) {
this.filtersConfig = value
}
@JvmName("mddffejphjqqfecm")
public suspend fun filtersConfig(vararg values: Output) {
this.filtersConfig = Output.all(values.asList())
}
/**
* @param values List of content filter configs in content policy.
*/
@JvmName("gfksekappdsmwbfm")
public suspend fun filtersConfig(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy