com.pulumi.aws.bedrock.kotlin.inputs.GuardrailTopicPolicyConfigTopicsConfigArgs.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.GuardrailTopicPolicyConfigTopicsConfigArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property definition Definition of topic in topic policy.
* @property examples List of text examples.
* @property name Name of topic in topic policy.
* @property type Type of topic in a policy.
*/
public data class GuardrailTopicPolicyConfigTopicsConfigArgs(
public val definition: Output,
public val examples: Output>? = null,
public val name: Output,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.bedrock.inputs.GuardrailTopicPolicyConfigTopicsConfigArgs =
com.pulumi.aws.bedrock.inputs.GuardrailTopicPolicyConfigTopicsConfigArgs.builder()
.definition(definition.applyValue({ args0 -> args0 }))
.examples(examples?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.name(name.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GuardrailTopicPolicyConfigTopicsConfigArgs].
*/
@PulumiTagMarker
public class GuardrailTopicPolicyConfigTopicsConfigArgsBuilder internal constructor() {
private var definition: Output? = null
private var examples: Output>? = null
private var name: Output? = null
private var type: Output? = null
/**
* @param value Definition of topic in topic policy.
*/
@JvmName("ljmtlvtsftvqbebq")
public suspend fun definition(`value`: Output) {
this.definition = value
}
/**
* @param value List of text examples.
*/
@JvmName("biebteetmrqwjwuo")
public suspend fun examples(`value`: Output>) {
this.examples = value
}
@JvmName("gcqpgdepesaokipa")
public suspend fun examples(vararg values: Output) {
this.examples = Output.all(values.asList())
}
/**
* @param values List of text examples.
*/
@JvmName("kyntnvuixqpxxrlg")
public suspend fun examples(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy