All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.bedrock.kotlin.GuardrailVersionArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@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,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy