com.pulumi.awsnative.glue.kotlin.inputs.SchemaRegistryArgs.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.glue.kotlin.inputs
import com.pulumi.awsnative.glue.inputs.SchemaRegistryArgs.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
/**
* Identifier for the registry which the schema is part of.
* @property arn Amazon Resource Name for the Registry.
* @property name Name of the registry in which the schema will be created.
*/
public data class SchemaRegistryArgs(
public val arn: Output? = null,
public val name: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.glue.inputs.SchemaRegistryArgs =
com.pulumi.awsnative.glue.inputs.SchemaRegistryArgs.builder()
.arn(arn?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SchemaRegistryArgs].
*/
@PulumiTagMarker
public class SchemaRegistryArgsBuilder internal constructor() {
private var arn: Output? = null
private var name: Output? = null
/**
* @param value Amazon Resource Name for the Registry.
*/
@JvmName("advtrhqkykcxkgcq")
public suspend fun arn(`value`: Output) {
this.arn = value
}
/**
* @param value Name of the registry in which the schema will be created.
*/
@JvmName("ttuwjjjrnhqriyfa")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Amazon Resource Name for the Registry.
*/
@JvmName("flnkkqrhyiodblqx")
public suspend fun arn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.arn = mapped
}
/**
* @param value Name of the registry in which the schema will be created.
*/
@JvmName("mxlgqqoohqfuaido")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): SchemaRegistryArgs = SchemaRegistryArgs(
arn = arn,
name = name,
)
}