com.pulumi.awsnative.bedrock.kotlin.GuardrailVersionArgs.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
import com.pulumi.awsnative.bedrock.GuardrailVersionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Definition of AWS::Bedrock::GuardrailVersion Resource Type
* @property description Description of the Guardrail version
* @property guardrailIdentifier Identifier (GuardrailId or GuardrailArn) for the guardrail
*/
public data class GuardrailVersionArgs(
public val description: Output? = null,
public val guardrailIdentifier: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.bedrock.GuardrailVersionArgs =
com.pulumi.awsnative.bedrock.GuardrailVersionArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.guardrailIdentifier(guardrailIdentifier?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GuardrailVersionArgs].
*/
@PulumiTagMarker
public class GuardrailVersionArgsBuilder internal constructor() {
private var description: Output? = null
private var guardrailIdentifier: Output? = null
/**
* @param value Description of the Guardrail version
*/
@JvmName("vdffgekocdutgstm")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Identifier (GuardrailId or GuardrailArn) for the guardrail
*/
@JvmName("vkdagfweqemufphl")
public suspend fun guardrailIdentifier(`value`: Output) {
this.guardrailIdentifier = value
}
/**
* @param value Description of the Guardrail version
*/
@JvmName("wburvauhdlxioexh")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value Identifier (GuardrailId or GuardrailArn) for the guardrail
*/
@JvmName("hqfaprkbpqokatjr")
public suspend fun guardrailIdentifier(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.guardrailIdentifier = mapped
}
internal fun build(): GuardrailVersionArgs = GuardrailVersionArgs(
description = description,
guardrailIdentifier = guardrailIdentifier,
)
}