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

com.pulumi.awsnative.glue.kotlin.SchemaVersionMetadataArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.glue.kotlin

import com.pulumi.awsnative.glue.SchemaVersionMetadataArgs.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

/**
 * This resource adds Key-Value metadata to a Schema version of Glue Schema Registry.
 * @property key Metadata key
 * @property schemaVersionId Represents the version ID associated with the schema version.
 * @property value Metadata value
 */
public data class SchemaVersionMetadataArgs(
    public val key: Output? = null,
    public val schemaVersionId: Output? = null,
    public val `value`: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.glue.SchemaVersionMetadataArgs =
        com.pulumi.awsnative.glue.SchemaVersionMetadataArgs.builder()
            .key(key?.applyValue({ args0 -> args0 }))
            .schemaVersionId(schemaVersionId?.applyValue({ args0 -> args0 }))
            .`value`(`value`?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SchemaVersionMetadataArgs].
 */
@PulumiTagMarker
public class SchemaVersionMetadataArgsBuilder internal constructor() {
    private var key: Output? = null

    private var schemaVersionId: Output? = null

    private var `value`: Output? = null

    /**
     * @param value Metadata key
     */
    @JvmName("ykvwqqdqjvsapspf")
    public suspend fun key(`value`: Output) {
        this.key = value
    }

    /**
     * @param value Represents the version ID associated with the schema version.
     */
    @JvmName("xdeafkffhnqecsat")
    public suspend fun schemaVersionId(`value`: Output) {
        this.schemaVersionId = value
    }

    /**
     * @param value Metadata value
     */
    @JvmName("kunhamrvjjuxcawu")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value Metadata key
     */
    @JvmName("duesdfkbftjdgmds")
    public suspend fun key(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.key = mapped
    }

    /**
     * @param value Represents the version ID associated with the schema version.
     */
    @JvmName("lqtugftljurpipww")
    public suspend fun schemaVersionId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.schemaVersionId = mapped
    }

    /**
     * @param value Metadata value
     */
    @JvmName("ntvpmnpmtbvwwrtt")
    public suspend fun `value`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    internal fun build(): SchemaVersionMetadataArgs = SchemaVersionMetadataArgs(
        key = key,
        schemaVersionId = schemaVersionId,
        `value` = `value`,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy